Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001191/0.001191, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001111/0.001111, allocations: 194 kB / 18.12 MB, free: 5.363 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.344/1.344, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2215/0.2215, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 68.83 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1119, allocations: 60.81 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003134/0.1151, allocations: 1.76 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1164, allocations: 0.8615 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.1165, allocations: 3.938 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1168, allocations: 47.88 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.117, allocations: 55.81 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1173, allocations: 99.75 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1174, allocations: 87.7 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.1175, allocations: 16.22 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.1176, allocations: 39.78 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.1177, allocations: 39.84 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1177, allocations: 0 / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.1178, allocations: 43.92 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.1179, allocations: 35.78 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.118, allocations: 35.69 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1182, allocations: 131.8 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1182, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1182, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1182, allocations: 0 / 471.9 MB, free: 11.46 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.000528/0.1187, allocations: 438.8 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1188, allocations: 12.03 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1188, allocations: 42.67 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1189, allocations: 16.75 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1191, allocations: 220 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1191, allocations: 384 / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1191, allocations: 3.938 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1193, allocations: 57.67 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1193, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1193, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.1193, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.1194, allocations: 27.92 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.1198, allocations: 288.9 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1199, allocations: 58.67 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.12, allocations: 20.84 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.12, allocations: 4 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.1202, allocations: 75.27 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1202, allocations: 0 / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.1208, allocations: 185 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1208, allocations: 51.41 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.121, allocations: 266.9 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1211, allocations: 29.7 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1211, allocations: 120.1 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1212, allocations: 19.72 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.1212, allocations: 25.7 kB / 473.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1213, allocations: 326.8 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.1214, allocations: 19.98 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.1215, allocations: 33.7 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1216, allocations: 65.72 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1216, allocations: 4 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1218, allocations: 97.67 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1218, allocations: 8 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1218, allocations: 3.938 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1218, allocations: 0 / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.1219, allocations: 15.94 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1219, allocations: 7.984 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.122, allocations: 16.28 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.122, allocations: 4 kB / 474.4 MB, free: 8.703 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 0.0001065/0.1221, allocations: 140.9 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1221, allocations: 11.81 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1222, allocations: 21.39 kB / 474.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1222, allocations: 8 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1222, allocations: 0 / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1222, allocations: 3.938 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.1226, allocations: 403.3 kB / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1227, allocations: 3.984 kB / 475 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1227, allocations: 8 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1227, allocations: 7.875 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1227, allocations: 4 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1227, allocations: 0 / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1227, allocations: 0 / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.123, allocations: 208.2 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.123, allocations: 96.84 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.123, allocations: 7.938 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.1231, allocations: 0 / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.1232, allocations: 11.98 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1232, allocations: 4 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1233, allocations: 196.2 kB / 475.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1234, allocations: 4 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1236, allocations: 24 kB / 475.5 MB, free: 7.461 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.001392/0.125, allocations: 1.108 MB / 476.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1252, allocations: 51.92 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1252, allocations: 0 / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.1253, allocations: 35.92 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1256, allocations: 29.8 kB / 476.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.1275, allocations: 1.826 MB / 478.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1277, allocations: 0.716 MB / 479.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.1278, allocations: 12.88 kB / 479.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.1279, allocations: 39.42 kB / 479.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1279, allocations: 0 / 479.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.075/1.202, allocations: 3.466 MB / 482.8 MB, free: 332 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.203, allocations: 233.1 kB / 483 MB, free: 72 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/3.151, allocations: 0 / 483 MB, free: 72 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches