Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00164/0.00164, allocations: 109.2 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.002019/0.002019, 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.462/1.462, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 77.72 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 62.45 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003913/0.1361, allocations: 1.781 MB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.1389, allocations: 1.612 MB / 482.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.139, allocations: 3.938 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1393, allocations: 39.89 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.1397, allocations: 75.69 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.14, allocations: 63.88 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1402, allocations: 95.69 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1403, allocations: 16 kB / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1404, allocations: 43.72 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1406, allocations: 47.77 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1406, allocations: 4 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.1409, allocations: 99.88 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1409, allocations: 15.92 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.141, allocations: 35.78 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.1413, allocations: 167.8 kB / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1414, allocations: 0 / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1414, allocations: 0 / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1414, allocations: 4 kB / 483.5 MB, free: 1.477 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.0007038/0.1421, allocations: 427 kB / 483.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1422, allocations: 12.88 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.1422, allocations: 38.73 kB / 484 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.1423, allocations: 8.844 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1426, allocations: 212.4 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1426, allocations: 0 / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1426, allocations: 4 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1428, allocations: 75.33 kB / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1428, allocations: 0 / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1429, allocations: 0 / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1429, allocations: 0 / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.143, allocations: 23.98 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1434, allocations: 284.9 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.1436, allocations: 58.62 kB / 484.6 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.1437, allocations: 24.84 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1437, allocations: 3.984 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.144, allocations: 67.39 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.144, allocations: 3.938 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006856/0.1447, allocations: 181.1 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.1448, allocations: 81.05 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1449, allocations: 162.5 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.145, allocations: 29.7 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.1451, allocations: 96.12 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.1451, allocations: 23.66 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.1452, allocations: 25.7 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1453, allocations: 322.8 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.1454, allocations: 24 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.1455, allocations: 46.44 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1456, allocations: 61.77 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1456, allocations: 0 / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002197/0.1459, allocations: 105.5 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1459, allocations: 8 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1459, allocations: 4.062 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1459, allocations: 0 / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.146, allocations: 15.94 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.146, allocations: 4 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.1461, allocations: 3.984 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1461, allocations: 4 kB / 485.9 MB, free: 14.82 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.0001244/0.1463, allocations: 125.8 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.1463, allocations: 11.81 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.22e-05/0.1464, allocations: 20.7 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1464, allocations: 7.922 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1464, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1464, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.1469, allocations: 395.3 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1469, allocations: 3.938 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.147, allocations: 8 kB / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.147, allocations: 0 / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.147, allocations: 4 kB / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.147, allocations: 12.02 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.147, allocations: 0 / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.1473, allocations: 196.2 kB / 486.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.1474, allocations: 88.95 kB / 486.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1474, allocations: 7.938 kB / 486.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.1475, allocations: 4.359 kB / 486.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1476, allocations: 8 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1476, allocations: 4 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1477, allocations: 126.5 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1477, allocations: 4 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.148, allocations: 47.98 kB / 486.9 MB, free: 13.66 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.002022/0.1501, allocations: 1.182 MB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1503, allocations: 59.97 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1503, allocations: 0 / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.1504, allocations: 31.98 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1508, allocations: 27.98 kB / 488.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1529, allocations: 1.599 MB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1533, allocations: 0.6937 MB / 490.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1534, allocations: 21.17 kB / 490.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.1535, allocations: 43.41 kB / 490.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1536, allocations: 0 / 490.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.1746, allocations: 3.77 MB / 494.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.1749, allocations: 241.6 kB / 494.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.101, allocations: 6.938 kB / 494.6 MB, free: 6.133 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches