Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 82.17 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1314, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003742/0.1352, allocations: 1.678 MB / 481.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1371, allocations: 1.005 MB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1372, allocations: 0 / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.1376, allocations: 55.75 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.138, allocations: 103.5 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1382, allocations: 67.75 kB / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1384, allocations: 103.7 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.1385, allocations: 12.22 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.1386, allocations: 39.8 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.1386, allocations: 27.8 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1387, allocations: 4 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.1388, allocations: 35.97 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.1388, allocations: 27.86 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.1389, allocations: 35.69 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1391, allocations: 131.8 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1391, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1391, allocations: 4 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1391, allocations: 0 / 483.5 MB, free: 1.812 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.0006276/0.1398, allocations: 434.6 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1398, allocations: 12.03 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.1399, allocations: 30.75 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1399, allocations: 8.844 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.1402, allocations: 224.9 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1402, allocations: 384 / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1403, allocations: 7.938 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1404, allocations: 49.67 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1405, allocations: 0 / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1405, allocations: 3.938 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1405, allocations: 0 / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.1406, allocations: 19.92 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.1408, allocations: 193.7 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.141, allocations: 54.56 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.1411, allocations: 20.84 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1411, allocations: 0 / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.1413, allocations: 75.33 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.1413, allocations: 3.938 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000285/0.1416, allocations: 97.48 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1417, allocations: 55.41 kB / 484.7 MB, free: 364 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1419, allocations: 271 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.142, allocations: 25.7 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.1421, allocations: 112.1 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.1421, allocations: 15.89 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.1422, allocations: 17.72 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1423, allocations: 326.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.1424, allocations: 15.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-05/0.1425, allocations: 33.64 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.1426, allocations: 41.72 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1426, allocations: 7.922 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001668/0.1427, allocations: 85.44 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1428, allocations: 6.5 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1428, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1428, allocations: 4.031 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.1429, allocations: 12 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1429, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.143, allocations: 15.83 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.143, allocations: 4 kB / 485.7 MB, free: 15.33 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.0001154/0.1431, allocations: 133.8 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1431, allocations: 11.91 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.1432, allocations: 16.98 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1432, allocations: 7.984 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1432, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1432, allocations: 3.938 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1434, allocations: 201.5 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1434, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.1434, allocations: 4.312 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1434, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1434, allocations: 8 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1434, allocations: 160 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1434, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1436, allocations: 120.8 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1437, allocations: 85.02 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1437, allocations: 11.92 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.1438, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1438, allocations: 4 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1438, allocations: 4 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.144, allocations: 208.4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.144, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1442, allocations: 23.94 kB / 486.5 MB, free: 14.41 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.001337/0.1456, allocations: 0.9484 MB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.1457, allocations: 39.92 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1457, allocations: 0 / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.1458, allocations: 28.05 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1461, allocations: 26.03 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.1482, allocations: 1.673 MB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1486, allocations: 0.7166 MB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.1487, allocations: 16.48 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.1487, allocations: 35.42 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1488, allocations: 0 / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.1687, allocations: 3.405 MB / 493.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.35, allocations: 7.984 kB / 493.4 MB, free: 7.578 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches