Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001359, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2507, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 82.75 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1431, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004376/0.1475, allocations: 1.923 MB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1496, allocations: 1.123 MB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.1499, allocations: 7.938 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.1504, allocations: 159.5 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005988/0.1511, allocations: 183.2 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1515, allocations: 115.6 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.152, allocations: 243.3 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1521, allocations: 29.67 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.1523, allocations: 111.5 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1525, allocations: 131.5 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1526, allocations: 12 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1528, allocations: 63.97 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/0.1528, allocations: 55.77 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.1529, allocations: 83.34 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.1533, allocations: 223.5 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1533, allocations: 0 / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1533, allocations: 0 / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1533, allocations: 0 / 484.6 MB, free: 0.7227 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000792/0.1541, allocations: 0.5409 MB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1542, allocations: 12.03 kB / 485.1 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.1542, allocations: 38.75 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.1543, allocations: 24.66 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1547, allocations: 271.5 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1547, allocations: 8.375 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1548, allocations: 11.94 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.155, allocations: 115.3 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1551, allocations: 0 / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1551, allocations: 8 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1551, allocations: 4 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1553, allocations: 43.95 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1559, allocations: 468.6 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.1563, allocations: 129.1 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1564, allocations: 45.81 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1564, allocations: 7.938 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.1567, allocations: 121.1 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.965e-06/0.1567, allocations: 3.984 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001301/0.158, allocations: 488.9 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.1581, allocations: 81.11 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.1585, allocations: 367.3 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1585, allocations: 37.7 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.1586, allocations: 152.4 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.1587, allocations: 75.02 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.1588, allocations: 41.72 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1589, allocations: 342.8 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.159, allocations: 55.97 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1592, allocations: 91.41 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.1594, allocations: 159.3 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1595, allocations: 0 / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005113/0.16, allocations: 237.2 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.16, allocations: 6.406 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.16, allocations: 4 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1601, allocations: 4 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1603, allocations: 47.91 kB / 488.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1603, allocations: 0 / 488.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1604, allocations: 8 kB / 488.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.1605, allocations: 12 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001854/0.1606, allocations: 153.8 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.1607, allocations: 35.56 kB / 488.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.625e-05/0.1608, allocations: 37.83 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1608, allocations: 4 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1608, allocations: 3.938 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1609, allocations: 0 / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.162, allocations: 0.7272 MB / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.162, allocations: 192 / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.1622, allocations: 27.94 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.1622, allocations: 11.92 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1622, allocations: 8 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1622, allocations: 0 / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.1622, allocations: 7.938 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.1629, allocations: 417.8 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.163, allocations: 96.83 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.163, allocations: 8 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1633, allocations: 11.98 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.1634, allocations: 19.92 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.1634, allocations: 19.98 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.1638, allocations: 277.9 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1638, allocations: 0 / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.1643, allocations: 48 kB / 490.4 MB, free: 10.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002129/0.1664, allocations: 1.353 MB / 491.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.1668, allocations: 171.8 kB / 492 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1668, allocations: 3.938 kB / 492 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.167, allocations: 79.91 kB / 492 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.1675, allocations: 59.66 kB / 492.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.1713, allocations: 2.722 MB / 494.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1717, allocations: 0.7635 MB / 495.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1719, allocations: 49.84 kB / 495.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.172, allocations: 91.39 kB / 495.7 MB, free: 5.137 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.172, allocations: 0 / 495.7 MB, free: 5.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.2, allocations: 5.974 MB / 0.4899 GB, free: 15.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.402, allocations: 10.69 kB / 0.49 GB, free: 15.24 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches