Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.001515/0.001515, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001729, allocations: 204.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3153/0.3153, allocations: 43.5 MB / 313.5 MB, free: 8.305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.91 kB / 382.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003291/0.1104, allocations: 1.9 MB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1119, allocations: 0.882 MB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1121, allocations: 7.938 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.1125, allocations: 147.7 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1129, allocations: 127.6 kB / 443 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.1134, allocations: 135.8 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1137, allocations: 203.4 kB / 443.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1139, allocations: 25.53 kB / 443.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1141, allocations: 91.61 kB / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1143, allocations: 131.5 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.1143, allocations: 4 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1145, allocations: 39.98 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.1145, allocations: 43.84 kB / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.1147, allocations: 75.41 kB / 443.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.115, allocations: 183.6 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.115, allocations: 0 / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.115, allocations: 0 / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.115, allocations: 0 / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007214/0.1157, allocations: 0.5254 MB / 444.4 MB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1158, allocations: 8.031 kB / 444.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.1158, allocations: 34.69 kB / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.1159, allocations: 24.66 kB / 444.5 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1162, allocations: 263.6 kB / 444.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1162, allocations: 12.36 kB / 444.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1162, allocations: 7.938 kB / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1165, allocations: 95.3 kB / 444.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1165, allocations: 8 kB / 444.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1165, allocations: 0 / 444.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1165, allocations: 0 / 444.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1166, allocations: 47.91 kB / 444.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1171, allocations: 440.8 kB / 445.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1174, allocations: 125.2 kB / 445.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.1175, allocations: 41.7 kB / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.1175, allocations: 4 kB / 445.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.1178, allocations: 113 kB / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.1178, allocations: 0 / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009182/0.1188, allocations: 356 kB / 446 MB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1188, allocations: 89.05 kB / 446.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.1191, allocations: 347 kB / 446.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1192, allocations: 33.7 kB / 446.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.1192, allocations: 140.4 kB / 446.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1193, allocations: 47.36 kB / 446.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.1194, allocations: 33.7 kB / 446.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.1195, allocations: 338.8 kB / 447 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.1196, allocations: 35.98 kB / 447 MB, free: 7.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1197, allocations: 75.41 kB / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1199, allocations: 131.5 kB / 447.2 MB, free: 6.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1199, allocations: 0 / 447.2 MB, free: 6.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002923/0.1202, allocations: 173.3 kB / 447.4 MB, free: 6.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1202, allocations: 4.062 kB / 447.4 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1202, allocations: 7.984 kB / 447.4 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1202, allocations: 4 kB / 447.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1204, allocations: 31.92 kB / 447.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1204, allocations: 4 kB / 447.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.1205, allocations: 8 kB / 447.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1205, allocations: 4.75 kB / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001293/0.1206, allocations: 169.6 kB / 447.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.1207, allocations: 27.62 kB / 447.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.1207, allocations: 37.73 kB / 447.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1208, allocations: 3.938 kB / 447.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1208, allocations: 7.938 kB / 447.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1208, allocations: 0 / 447.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006627/0.1214, allocations: 0.6124 MB / 448.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1215, allocations: 8.062 kB / 448.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.1215, allocations: 19.98 kB / 448.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1215, allocations: 0 / 448.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1215, allocations: 4 kB / 448.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1216, allocations: 3.938 kB / 448.3 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1216, allocations: 0 / 448.3 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.1219, allocations: 364 kB / 448.7 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.122, allocations: 104.8 kB / 448.8 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.122, allocations: 4 kB / 448.8 MB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1222, allocations: 8 kB / 448.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.1222, allocations: 7.984 kB / 448.8 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1222, allocations: 15.92 kB / 448.8 MB, free: 5.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.1225, allocations: 265.9 kB / 449.1 MB, free: 4.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1225, allocations: 4 kB / 449.1 MB, free: 4.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.1228, allocations: 36 kB / 449.1 MB, free: 4.871 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001493/0.1243, allocations: 1.267 MB / 450.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.1246, allocations: 107.9 kB / 450.5 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1246, allocations: 4.125 kB / 450.5 MB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1247, allocations: 63.91 kB / 450.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.1252, allocations: 64.58 kB / 450.6 MB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.1278, allocations: 2.496 MB / 453.1 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1457/0.2735, allocations: 0.7517 MB / 453.9 MB, free: 48.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.2737, allocations: 30.77 kB / 453.9 MB, free: 48.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.2738, allocations: 72.97 kB / 454 MB, free: 48.22 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2738, allocations: 0 / 454 MB, free: 48.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.2868, allocations: 5.072 MB / 459 MB, free: 47.74 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.287, allocations: 238.3 kB / 459.3 MB, free: 47.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.982, allocations: 0 / 459.3 MB, free: 47.48 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches