Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001416/0.001416, allocations: 111 kB / 17.33 MB, free: 6.004 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.001315/0.001315, allocations: 193.3 kB / 18.25 MB, free: 5.094 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.482/1.482, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2492/0.2492, allocations: 44.16 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.47 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1348, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003197/0.1381, allocations: 1.752 MB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1395, allocations: 0.8653 MB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.1396, allocations: 0 / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.14, allocations: 35.89 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.1402, allocations: 47.83 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1405, allocations: 99.75 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1407, allocations: 103.7 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1408, allocations: 4.234 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.1409, allocations: 43.8 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.141, allocations: 27.84 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.141, allocations: 4 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1411, allocations: 47.92 kB / 471.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.1412, allocations: 23.91 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.982e-05/0.1412, allocations: 35.73 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1415, allocations: 119.9 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.1415, allocations: 4 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1415, allocations: 0 / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1415, allocations: 0 / 472 MB, free: 11.42 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.0006423/0.1422, allocations: 414.9 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.1422, allocations: 15.97 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.1423, allocations: 30.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.1423, allocations: 8.844 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1426, allocations: 216.7 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1426, allocations: 8.375 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1426, allocations: 7.938 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1428, allocations: 53.67 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1428, allocations: 0 / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1428, allocations: 0 / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1428, allocations: 0 / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.652e-05/0.1429, allocations: 19.98 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1433, allocations: 296.7 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1435, allocations: 66.67 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1436, allocations: 20.84 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1436, allocations: 4 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.1438, allocations: 67.33 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1438, allocations: 4 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005933/0.1444, allocations: 169.2 kB / 473.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1445, allocations: 63.33 kB / 473.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1447, allocations: 199.3 kB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1447, allocations: 25.7 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.1448, allocations: 104.1 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.1449, allocations: 23.7 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1449, allocations: 17.72 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1451, allocations: 326.8 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.1451, allocations: 23.98 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.1452, allocations: 33.7 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1453, allocations: 73.69 kB / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1453, allocations: 0 / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002613/0.1456, allocations: 97.5 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1456, allocations: 8 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1456, allocations: 0 / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1457, allocations: 0 / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.1458, allocations: 19.92 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1458, allocations: 7.938 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.1458, allocations: 7.938 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1459, allocations: 4 kB / 474.4 MB, free: 8.777 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.0001191/0.146, allocations: 125.8 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.146, allocations: 15.94 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.1461, allocations: 21.39 kB / 474.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1461, allocations: 0 / 474.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1461, allocations: 0 / 474.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1461, allocations: 7.938 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1465, allocations: 383.3 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1465, allocations: 0 / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.1466, allocations: 12 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1466, allocations: 11.97 kB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1466, allocations: 4.547 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1466, allocations: 3.938 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1466, allocations: 7.938 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.147, allocations: 200.2 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.147, allocations: 85.02 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1471, allocations: 11.94 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.1472, allocations: 3.984 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1472, allocations: 4 kB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1472, allocations: 8 kB / 475.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1474, allocations: 148.9 kB / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1474, allocations: 0 / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1476, allocations: 23.98 kB / 475.5 MB, free: 7.617 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.001545/0.1492, allocations: 1.11 MB / 476.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1494, allocations: 67.91 kB / 476.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1494, allocations: 0 / 476.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.1495, allocations: 27.94 kB / 476.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1499, allocations: 29.66 kB / 476.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.152, allocations: 1.671 MB / 478.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1523, allocations: 0.7041 MB / 479.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.266e-05/0.1524, allocations: 21.17 kB / 479.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.1525, allocations: 39.36 kB / 479.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1525, allocations: 0 / 479.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.1676, allocations: 3.263 MB / 482.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.1678, allocations: 231.2 kB / 482.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.027, allocations: 7.938 kB / 482.6 MB, free: 0.582 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches