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.0007383/0.0007382, 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.0008295/0.0008296, allocations: 173.8 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.314/1.314, 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.1948/0.1948, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 12 kB / 410.5 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 61.91 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00195/0.1174, allocations: 1.421 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1187, allocations: 0.8499 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.1188, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.1191, allocations: 51.86 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1192, allocations: 51.83 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1195, allocations: 95.14 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1197, allocations: 99.69 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.1198, allocations: 8.219 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.1198, allocations: 39.8 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1199, allocations: 35.78 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.12, allocations: 4 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.12, allocations: 43.97 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1201, allocations: 23.92 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.1202, allocations: 65.38 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1204, allocations: 127.8 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1204, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1204, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1204, allocations: 0 / 475.3 MB, free: 10.32 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.000518/0.1209, allocations: 426.8 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.121, allocations: 16.03 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.121, allocations: 38.69 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.121, allocations: 12.84 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1213, allocations: 211.9 kB / 476 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1213, allocations: 4.375 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1213, allocations: 7.938 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1214, allocations: 53.67 kB / 476 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1215, allocations: 0 / 476 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1215, allocations: 0 / 476 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1215, allocations: 11.98 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.1216, allocations: 15.94 kB / 476 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.1219, allocations: 300.9 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1221, allocations: 54.67 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.1221, allocations: 20.86 kB / 476.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1222, allocations: 11.94 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.1224, allocations: 63.38 kB / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1224, allocations: 0 / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005102/0.1229, allocations: 181.1 kB / 476.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1229, allocations: 51.41 kB / 476.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1232, allocations: 270.9 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1232, allocations: 29.7 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.1233, allocations: 120 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1233, allocations: 19.7 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.1234, allocations: 13.72 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1235, allocations: 330.8 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.1235, allocations: 19.98 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.1236, allocations: 37.7 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1237, allocations: 65.64 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1237, allocations: 0 / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1239, allocations: 101.5 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1239, allocations: 6.5 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1239, allocations: 0 / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.124, allocations: 4 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.124, allocations: 19.98 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1241, allocations: 4.141 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.1241, allocations: 15.91 kB / 477.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1241, allocations: 4.359 kB / 477.8 MB, free: 7.582 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.0001093/0.1242, allocations: 134 kB / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1243, allocations: 15.81 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.1243, allocations: 25.33 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1243, allocations: 0 / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1243, allocations: 4 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1243, allocations: 3.938 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.1248, allocations: 411.2 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1248, allocations: 4 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.1248, allocations: 7.938 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1248, allocations: 7.938 kB / 478.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1248, allocations: 3.984 kB / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1248, allocations: 0 / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1248, allocations: 4 kB / 478.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1251, allocations: 204.2 kB / 478.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1251, allocations: 85.02 kB / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1252, allocations: 7.938 kB / 478.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.1253, allocations: 7.984 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1253, allocations: 7.938 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1253, allocations: 4 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.1255, allocations: 204.2 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1255, allocations: 4 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1258, allocations: 20 kB / 478.9 MB, free: 6.336 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.001533/0.1273, allocations: 1.095 MB / 480 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1275, allocations: 63.91 kB / 480.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1275, allocations: 0 / 480.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.1276, allocations: 27.92 kB / 480.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1279, allocations: 32.36 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1297, allocations: 1.824 MB / 481.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.13, allocations: 0.7189 MB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.16e-05/0.13, allocations: 16.88 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.1301, allocations: 35.42 kB / 482.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1301, allocations: 8 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.1446, allocations: 3.268 MB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.1448, allocations: 240.8 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.946, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.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