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.001162/0.001162, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 74.42 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1349, allocations: 62.44 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004678/0.1396, allocations: 1.793 MB / 481.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1419, allocations: 1.009 MB / 482.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1421, allocations: 3.938 kB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.1426, allocations: 83.81 kB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.143, allocations: 107.6 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1433, allocations: 59.88 kB / 482.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.1436, allocations: 107.7 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1437, allocations: 8 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1438, allocations: 47.72 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.144, allocations: 59.75 kB / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.144, allocations: 8 kB / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1442, allocations: 43.92 kB / 482.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.1443, allocations: 23.91 kB / 482.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.1443, allocations: 39.67 kB / 482.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1446, allocations: 119.8 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1446, allocations: 4 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1446, allocations: 0 / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1446, allocations: 0 / 482.9 MB, free: 2.059 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.0007205/0.1454, allocations: 422.9 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1454, allocations: 12.88 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.1455, allocations: 34.75 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.1456, allocations: 16.73 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1459, allocations: 220.5 kB / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1459, allocations: 384 / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1459, allocations: 3.938 kB / 483.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1461, allocations: 61.61 kB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1461, allocations: 0 / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1462, allocations: 0 / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1462, allocations: 0 / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.755e-05/0.1463, allocations: 23.98 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.1467, allocations: 288.9 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1469, allocations: 54.61 kB / 484 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.147, allocations: 20.86 kB / 484 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1471, allocations: 0 / 484 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.1473, allocations: 71.38 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1473, allocations: 0 / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006228/0.1479, allocations: 185 kB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.148, allocations: 51.41 kB / 484.3 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.1482, allocations: 227.4 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1483, allocations: 25.7 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.1483, allocations: 108.1 kB / 484.7 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.1484, allocations: 27.64 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.1485, allocations: 21.8 kB / 484.7 MB, free: 16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1486, allocations: 326.8 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.1487, allocations: 23.98 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.1487, allocations: 37.64 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1489, allocations: 58.08 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1489, allocations: 4.188 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.1491, allocations: 109.5 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1491, allocations: 11.94 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1491, allocations: 4 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1491, allocations: 3.938 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.1492, allocations: 15.98 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1493, allocations: 0 / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.1493, allocations: 7.938 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1493, allocations: 8.031 kB / 485.3 MB, free: 15.37 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.0001166/0.1495, allocations: 141 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.1495, allocations: 7.906 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.1496, allocations: 21.39 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1496, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1496, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1496, allocations: 3.938 kB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.1501, allocations: 403.2 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1501, allocations: 4 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.1501, allocations: 7.984 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1501, allocations: 7.938 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1501, allocations: 0 / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1501, allocations: 0 / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1502, allocations: 4 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1504, allocations: 208.2 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1505, allocations: 88.92 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1505, allocations: 7.922 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.1506, allocations: 4 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.1507, allocations: 4 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1507, allocations: 7.984 kB / 486.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1508, allocations: 165.2 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1508, allocations: 0 / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1511, allocations: 32 kB / 486.4 MB, free: 14.18 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.001529/0.1527, allocations: 1.088 MB / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1529, allocations: 47.98 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1529, allocations: 0 / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.153, allocations: 40.06 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1534, allocations: 36.11 kB / 487.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.1554, allocations: 1.721 MB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1558, allocations: 0.7079 MB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.1558, allocations: 16.88 kB / 490.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.1559, allocations: 39.42 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1559, allocations: 0 / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.1718, allocations: 3.301 MB / 493.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.1721, allocations: 245.6 kB / 493.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.077, allocations: 0 / 493.7 MB, free: 7.039 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