Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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.001254/0.001254, allocations: 104.1 kB / 17.63 MB, free: 5.504 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.00116/0.00116, allocations: 192 kB / 18.56 MB, free: 4.578 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.411/1.411, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2169/0.2169, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 60.41 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003449/0.1167, allocations: 1.7 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1183, allocations: 0.8886 MB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.1184, allocations: 0 / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1186, allocations: 31.78 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1189, allocations: 55.75 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.1192, allocations: 115.1 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1194, allocations: 95.69 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.1195, allocations: 12.23 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.1196, allocations: 43.78 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.1197, allocations: 27.86 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1197, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1198, allocations: 43.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.1199, allocations: 23.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.1199, allocations: 31.75 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1202, allocations: 111.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1202, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1202, allocations: 3.938 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1202, allocations: 4 kB / 472.5 MB, free: 11.06 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.0005528/0.1208, allocations: 407 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1208, allocations: 12.03 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.1209, allocations: 30.75 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.1209, allocations: 12.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1212, allocations: 212 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1212, allocations: 384 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1212, allocations: 7.938 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1214, allocations: 57.67 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1214, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1214, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1214, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.1215, allocations: 23.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.1218, allocations: 288.8 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.122, allocations: 58.67 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.122, allocations: 20.84 kB / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1221, allocations: 0 / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.1223, allocations: 75.27 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1223, allocations: 0 / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005317/0.1228, allocations: 169.5 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.1229, allocations: 59.34 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.123, allocations: 186.1 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1231, allocations: 29.7 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.1231, allocations: 104.1 kB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1232, allocations: 23.7 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1232, allocations: 21.72 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1233, allocations: 326.8 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.1234, allocations: 19.98 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.1235, allocations: 37.83 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1236, allocations: 65.64 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1236, allocations: 0 / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.1238, allocations: 101.5 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1238, allocations: 4 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1238, allocations: 0 / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1238, allocations: 4.031 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.1239, allocations: 24.11 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1239, allocations: 0 / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.124, allocations: 15.88 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.124, allocations: 0 / 474.9 MB, free: 8.465 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 9.659e-05/0.1241, allocations: 124.6 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1241, allocations: 15.91 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.1242, allocations: 12.72 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1242, allocations: 7.984 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1242, allocations: 0 / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1242, allocations: 7.938 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.1246, allocations: 387.3 kB / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1246, allocations: 0 / 475.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.1247, allocations: 8 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1247, allocations: 3.938 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1247, allocations: 8 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1247, allocations: 32 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1247, allocations: 7.938 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.1249, allocations: 196.2 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.125, allocations: 96.94 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.125, allocations: 3.938 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.1251, allocations: 4 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1251, allocations: 11.98 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1251, allocations: 8 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1253, allocations: 139.2 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1253, allocations: 0 / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1255, allocations: 27.98 kB / 475.9 MB, free: 7.309 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.00141/0.1269, allocations: 1.099 MB / 477 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1271, allocations: 63.91 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1272, allocations: 4.062 kB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.1272, allocations: 27.92 kB / 477.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1276, allocations: 27.98 kB / 477.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1295, allocations: 1.627 MB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1298, allocations: 0.7002 MB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.286e-05/0.1298, allocations: 17.17 kB / 479.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.1299, allocations: 39.42 kB / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1299, allocations: 0 / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.1502, allocations: 3.295 MB / 482.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.707, allocations: 9.812 kB / 482.8 MB, free: 0.5234 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches