Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 109.2 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.001281/0.001281, 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.4/1.4, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 77.52 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 62.45 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003242/0.1374, allocations: 1.789 MB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1398, allocations: 1.604 MB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.1399, allocations: 0 / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1403, allocations: 39.83 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1406, allocations: 75.75 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1409, allocations: 59.88 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1411, allocations: 107.6 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1412, allocations: 11.97 kB / 483.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1413, allocations: 47.8 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1415, allocations: 39.83 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1416, allocations: 0 / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1418, allocations: 103.9 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1419, allocations: 15.92 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.1419, allocations: 35.78 kB / 483.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1422, allocations: 175.8 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1423, allocations: 0 / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.051e-06/0.1423, allocations: 3.938 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1423, allocations: 0 / 483.5 MB, free: 1.465 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.0006409/0.1429, allocations: 427.1 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.143, allocations: 8.875 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.143, allocations: 38.73 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.1431, allocations: 8.844 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1433, allocations: 208.4 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1434, allocations: 4 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1434, allocations: 4 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1436, allocations: 75.33 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1436, allocations: 0 / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1436, allocations: 0 / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1436, allocations: 4 kB / 484.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.1437, allocations: 15.98 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.1441, allocations: 288.9 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1443, allocations: 62.62 kB / 484.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.1444, allocations: 20.84 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1444, allocations: 7.938 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.1447, allocations: 67.39 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1447, allocations: 0 / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.1453, allocations: 173.1 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.1454, allocations: 93.05 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1455, allocations: 158.5 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1456, allocations: 25.7 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.1456, allocations: 100.1 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1457, allocations: 23.66 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1457, allocations: 25.7 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1458, allocations: 322.8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.1459, allocations: 19.94 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.146, allocations: 46.56 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1461, allocations: 61.77 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1461, allocations: 0 / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.1463, allocations: 105.5 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1463, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1464, allocations: 0 / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1464, allocations: 8.062 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.1465, allocations: 16.12 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1465, allocations: 0 / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.1466, allocations: 19.86 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1466, allocations: 0 / 485.9 MB, free: 14.81 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.0001138/0.1467, allocations: 117.8 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1467, allocations: 11.81 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.1468, allocations: 16.7 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1468, allocations: 7.938 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1468, allocations: 4 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1468, allocations: 0 / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1473, allocations: 395.3 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1473, allocations: 3.938 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1474, allocations: 8 kB / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1474, allocations: 3.984 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1474, allocations: 7.984 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1474, allocations: 32 / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1474, allocations: 4 kB / 486.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1477, allocations: 204.2 kB / 486.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.1477, allocations: 88.95 kB / 486.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1478, allocations: 384 / 486.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.1479, allocations: 11.98 kB / 486.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1479, allocations: 12 kB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1479, allocations: 4 kB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1481, allocations: 124.5 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1481, allocations: 0 / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.1484, allocations: 47.98 kB / 486.9 MB, free: 13.65 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.001839/0.1503, allocations: 1.178 MB / 488.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1505, allocations: 51.92 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1505, allocations: 0 / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.1506, allocations: 36.05 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.0003607/0.151, allocations: 34.31 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1528, allocations: 1.599 MB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1531, allocations: 0.7054 MB / 490.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.066e-05/0.1532, allocations: 21.19 kB / 490.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.1533, allocations: 35.41 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1533, allocations: 4 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1708, allocations: 3.769 MB / 494.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.1711, allocations: 237.5 kB / 494.6 MB, free: 6.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.063, allocations: 0 / 494.6 MB, free: 6.125 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches