Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 107.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.00137/0.00137, 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.477/1.477, 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.2268/0.2268, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 83.17 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1402, allocations: 62.44 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004005/0.1443, allocations: 1.793 MB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.147, allocations: 1.6 MB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1471, allocations: 4 kB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1475, allocations: 35.84 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1479, allocations: 79.73 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1481, allocations: 63.83 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1484, allocations: 111.7 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1485, allocations: 7.984 kB / 483.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1486, allocations: 43.78 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1488, allocations: 51.77 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1488, allocations: 7.984 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.1491, allocations: 95.95 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.1492, allocations: 23.89 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.1492, allocations: 39.69 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.1497, allocations: 175.8 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1497, allocations: 0 / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1497, allocations: 0 / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1497, allocations: 3.938 kB / 483.5 MB, free: 1.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008162/0.1505, allocations: 443 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.976e-05/0.1506, allocations: 12.88 kB / 484 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/0.1507, allocations: 30.75 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.827e-05/0.1508, allocations: 12.84 kB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1511, allocations: 212.1 kB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1512, allocations: 4.375 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1512, allocations: 7.938 kB / 484.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1514, allocations: 67.39 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1514, allocations: 4 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1514, allocations: 15.98 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1514, allocations: 0 / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1516, allocations: 23.98 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.152, allocations: 308.6 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.1523, allocations: 70.67 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.1523, allocations: 24.84 kB / 484.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.1524, allocations: 8 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.1527, allocations: 71.39 kB / 484.8 MB, free: 16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.1527, allocations: 0 / 484.8 MB, free: 16 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007054/0.1534, allocations: 193.1 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.1535, allocations: 81.11 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1537, allocations: 178.1 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1537, allocations: 25.7 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.1538, allocations: 100.1 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.1539, allocations: 35.7 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.1539, allocations: 29.66 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1541, allocations: 318.8 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.1542, allocations: 27.98 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.1543, allocations: 46.56 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1544, allocations: 73.67 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1544, allocations: 4 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002321/0.1547, allocations: 113.4 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1547, allocations: 7.984 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1547, allocations: 0 / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1547, allocations: 4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1549, allocations: 16.06 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1549, allocations: 4 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.155, allocations: 11.86 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.155, allocations: 4 kB / 486 MB, free: 14.67 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 (11): * Single equations (assignments): 11 * 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.0001482/0.1551, allocations: 121.8 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.1552, allocations: 7.906 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.1553, allocations: 17.17 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1553, allocations: 4 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1553, allocations: 0 / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1553, allocations: 7.938 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.1559, allocations: 423.2 kB / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1559, allocations: 0 / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.1559, allocations: 8 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1559, allocations: 7.922 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.156, allocations: 7.984 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.156, allocations: 0 / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.156, allocations: 0 / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1563, allocations: 216.3 kB / 486.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.1563, allocations: 93 kB / 486.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.1564, allocations: 3.938 kB / 486.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.1565, allocations: 11.94 kB / 487 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1565, allocations: 11.92 kB / 487 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1565, allocations: 4 kB / 487 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1567, allocations: 131.2 kB / 487.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1567, allocations: 192 / 487.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.157, allocations: 51.98 kB / 487.1 MB, free: 13.46 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 (9): * Single equations (assignments): 7 * 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.001975/0.159, allocations: 1.192 MB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1593, allocations: 63.92 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1593, allocations: 0 / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.1594, allocations: 31.98 kB / 488.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.1598, allocations: 35.55 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.162, allocations: 1.668 MB / 490.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1624, allocations: 0.7012 MB / 490.8 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1625, allocations: 20.64 kB / 490.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1626, allocations: 43.41 kB / 490.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1626, allocations: 7.938 kB / 490.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.1803, allocations: 3.919 MB / 494.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.1806, allocations: 237.5 kB / 495.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.127, allocations: 8.062 kB / 495.1 MB, free: 5.676 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches