Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 76.59 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1455, allocations: 62.45 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003488/0.149, allocations: 1.72 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1512, allocations: 1.021 MB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1513, allocations: 4 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.1517, allocations: 79.7 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.1522, allocations: 115.5 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.1525, allocations: 83.66 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1527, allocations: 107.7 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1529, allocations: 19.98 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.153, allocations: 47.78 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1531, allocations: 63.75 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1531, allocations: 4 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1533, allocations: 43.98 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.1533, allocations: 23.91 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.1534, allocations: 39.67 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1537, allocations: 131.8 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1537, allocations: 0 / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1537, allocations: 0 / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1537, allocations: 0 / 483.6 MB, free: 1.629 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.000583/0.1543, allocations: 418.9 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1543, allocations: 12.03 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1544, allocations: 34.75 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.1544, allocations: 12.75 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1547, allocations: 216 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1547, allocations: 8.359 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1547, allocations: 11.92 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1549, allocations: 57.61 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1549, allocations: 3.938 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1549, allocations: 4 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1549, allocations: 3.938 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.155, allocations: 19.98 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.1554, allocations: 288.9 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1556, allocations: 62.61 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1557, allocations: 20.86 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1557, allocations: 0 / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1559, allocations: 63.39 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1559, allocations: 4 kB / 484.8 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.1565, allocations: 181 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.1567, allocations: 51.41 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1569, allocations: 228.2 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1569, allocations: 29.7 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.157, allocations: 104.1 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.157, allocations: 31.62 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.1571, allocations: 21.72 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1572, allocations: 330.8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.1573, allocations: 19.98 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.1574, allocations: 37.64 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1575, allocations: 57.78 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1575, allocations: 4 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002422/0.1577, allocations: 105.4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1578, allocations: 6.5 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1578, allocations: 4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1578, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.753e-05/0.1579, allocations: 15.98 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1579, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.158, allocations: 11.94 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.158, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.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.0001258/0.1581, allocations: 136.7 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1582, allocations: 11.94 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.1582, allocations: 17.41 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1582, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1582, allocations: 3.984 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1582, allocations: 3.938 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.1587, allocations: 399.2 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1587, allocations: 4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.1587, allocations: 8.547 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1588, allocations: 11.97 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1588, allocations: 7.938 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1588, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1588, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.159, allocations: 204.2 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.1591, allocations: 88.92 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1591, allocations: 7.938 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1592, allocations: 15.98 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1592, allocations: 0 / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1593, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1594, allocations: 169.2 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1594, allocations: 0 / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1597, allocations: 20 kB / 487.2 MB, free: 13.75 MB / 366.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.001511/0.1612, allocations: 1.093 MB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1614, allocations: 67.91 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1614, allocations: 0 / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.1615, allocations: 31.98 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1619, allocations: 34.59 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1639, allocations: 1.701 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1643, allocations: 0.7158 MB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.1644, allocations: 16.81 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.1645, allocations: 39.42 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1645, allocations: 0 / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.189, allocations: 3.478 MB / 494.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.534, allocations: 21.8 kB / 494.4 MB, free: 6.656 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches