Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002129/0.002129, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 213.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.457/1.457, allocations: 227.4 MB / 246.3 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2396/0.2396, allocations: 46.1 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 85.25 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 62.44 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003728/0.1351, allocations: 1.74 MB / 481.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.137, allocations: 0.9979 MB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1371, allocations: 3.938 kB / 482.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.1375, allocations: 59.84 kB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.1379, allocations: 87.72 kB / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1381, allocations: 59.83 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1384, allocations: 103.7 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.1384, allocations: 8.219 kB / 482.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1385, allocations: 43.78 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1387, allocations: 51.77 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1387, allocations: 3.938 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1388, allocations: 31.98 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.1389, allocations: 12 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.139, allocations: 39.72 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1392, allocations: 95.94 kB / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1392, allocations: 0 / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1392, allocations: 0 / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1392, allocations: 0 / 482.7 MB, free: 2.246 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006309/0.1398, allocations: 422.8 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.1399, allocations: 12.81 kB / 483.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.14, allocations: 30.75 kB / 483.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.14, allocations: 12.84 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.1403, allocations: 210.7 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1404, allocations: 4.375 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1404, allocations: 3.938 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1405, allocations: 53.67 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1406, allocations: 0 / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1406, allocations: 0 / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.1406, allocations: 4 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.1407, allocations: 19.92 kB / 483.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.1409, allocations: 177.7 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1411, allocations: 58.55 kB / 483.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.1412, allocations: 20.86 kB / 483.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1412, allocations: 4 kB / 483.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1415, allocations: 71.22 kB / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.625e-06/0.1415, allocations: 0 / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003466/0.1419, allocations: 93.58 kB / 483.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1419, allocations: 51.41 kB / 483.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1422, allocations: 190.9 kB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1422, allocations: 25.7 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1423, allocations: 108.1 kB / 484.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.1423, allocations: 11.81 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.1424, allocations: 21.72 kB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1425, allocations: 318.8 kB / 484.6 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.1426, allocations: 15.98 kB / 484.6 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.1427, allocations: 33.66 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.957e-05/0.1428, allocations: 45.7 kB / 484.7 MB, free: 32 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1428, allocations: 3.938 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000222/0.143, allocations: 85.55 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1431, allocations: 7.984 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1431, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1431, allocations: 4 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.1432, allocations: 8 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1432, allocations: 0 / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.1432, allocations: 4.031 kB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1433, allocations: 4.312 kB / 484.8 MB, free: 15.91 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 (7): * Single equations (assignments): 7 * 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.000118/0.1434, allocations: 125.8 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1434, allocations: 19.81 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.1435, allocations: 16.97 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1435, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1435, allocations: 4 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1435, allocations: 3.938 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1437, allocations: 193.4 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1437, allocations: 3.938 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.1437, allocations: 11.98 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1438, allocations: 0 / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1438, allocations: 4 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1438, allocations: 4 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1438, allocations: 0 / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.144, allocations: 105 kB / 485.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1441, allocations: 85.02 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1441, allocations: 4 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.1441, allocations: 4 kB / 485.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.1442, allocations: 7.984 kB / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1442, allocations: 0 / 485.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1444, allocations: 152.7 kB / 485.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1444, allocations: 0 / 485.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1446, allocations: 19.91 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001433/0.146, allocations: 0.9484 MB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1462, allocations: 39.92 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1462, allocations: 0 / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.1463, allocations: 19.98 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1466, allocations: 27.36 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1484, allocations: 1.508 MB / 488.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1488, allocations: 0.7083 MB / 488.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.112e-05/0.1489, allocations: 16.41 kB / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.149, allocations: 27.42 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.149, allocations: 4 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.1636, allocations: 2.903 MB / 491.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.1639, allocations: 236.4 kB / 492 MB, free: 8.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.15, allocations: 0 / 492 MB, free: 8.703 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches