Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007073/0.0007074, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000808/0.000808, allocations: 171.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1854/0.1854, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 10.59 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 61.91 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002012/0.1083, allocations: 1.417 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1096, allocations: 0.8421 MB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.1096, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1099, allocations: 39.89 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.1101, allocations: 39.83 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1103, allocations: 95.77 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1105, allocations: 91.69 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.1106, allocations: 16.22 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.1107, allocations: 35.8 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.1107, allocations: 31.84 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1107, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.1108, allocations: 43.92 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.1109, allocations: 15.92 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.1109, allocations: 57.45 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1111, allocations: 111.9 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1111, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1111, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1111, allocations: 4 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004701/0.1116, allocations: 393.4 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1117, allocations: 8.031 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1117, allocations: 38.73 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1117, allocations: 16.69 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1119, allocations: 208.1 kB / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.112, allocations: 384 / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.112, allocations: 7.922 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1121, allocations: 61.67 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1121, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1121, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1122, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.636e-05/0.1122, allocations: 19.98 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.1125, allocations: 288.8 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1127, allocations: 62.69 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.1128, allocations: 20.84 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1128, allocations: 0 / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.113, allocations: 75.27 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.113, allocations: 0 / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004842/0.1135, allocations: 177.2 kB / 476.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1135, allocations: 51.41 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1137, allocations: 194.1 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1137, allocations: 29.7 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.1138, allocations: 100.1 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1138, allocations: 23.7 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.1138, allocations: 13.72 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.1139, allocations: 322.8 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.114, allocations: 23.98 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.114, allocations: 37.7 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1142, allocations: 61.72 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1142, allocations: 3.984 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001636/0.1143, allocations: 93.5 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1144, allocations: 10.66 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1144, allocations: 0 / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.168e-06/0.1144, allocations: 4.031 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.1145, allocations: 23.92 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1145, allocations: 4 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1145, allocations: 3.938 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1146, allocations: 4.375 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/0.1147, allocations: 125.8 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.1147, allocations: 15.89 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.1147, allocations: 12.72 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1147, allocations: 4 kB / 477.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1147, allocations: 4 kB / 477.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1147, allocations: 7.922 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.1151, allocations: 391.3 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1151, allocations: 0 / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.1152, allocations: 8 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1152, allocations: 3.938 kB / 478.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1152, allocations: 4.188 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1152, allocations: 7.969 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1152, allocations: 3.938 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1154, allocations: 204.2 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.1155, allocations: 92.94 kB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1155, allocations: 3.938 kB / 478.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1156, allocations: 8 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.1156, allocations: 11.98 kB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1156, allocations: 4 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.1157, allocations: 143.2 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1157, allocations: 0 / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000244/0.116, allocations: 24 kB / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/0.1174, allocations: 1.098 MB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1175, allocations: 63.91 kB / 479.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1175, allocations: 4.062 kB / 479.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.1176, allocations: 27.98 kB / 479.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.118, allocations: 23.11 kB / 479.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1195, allocations: 1.646 MB / 481.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.1198, allocations: 0.7043 MB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.1198, allocations: 16.88 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.1199, allocations: 39.36 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1199, allocations: 0 / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1337, allocations: 2.945 MB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.134, allocations: 234.9 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.833, allocations: 0 / 485.4 MB, free: 15.99 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches