Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007166/0.0007164, allocations: 96.02 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008883/0.0008883, allocations: 205.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.8 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002903, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 63.57 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002388/0.1417, allocations: 1.45 MB / 484.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1436, allocations: 0.9863 MB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1437, allocations: 4 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.144, allocations: 35.83 kB / 485.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1444, allocations: 79.73 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1446, allocations: 67.8 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1448, allocations: 99.7 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1449, allocations: 15.98 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1451, allocations: 39.78 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.1451, allocations: 27.8 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1452, allocations: 4 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1453, allocations: 43.92 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.1454, allocations: 23.91 kB / 486.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.1454, allocations: 61.44 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1457, allocations: 115.9 kB / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1457, allocations: 0 / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1457, allocations: 0 / 486.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1457, allocations: 0 / 486.2 MB, free: 0.9805 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.0005788/0.1463, allocations: 407 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1463, allocations: 12.88 kB / 486.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.1464, allocations: 38.67 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1465, allocations: 8.844 kB / 486.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1467, allocations: 216 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1468, allocations: 4.375 kB / 486.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1468, allocations: 3.938 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.147, allocations: 61.67 kB / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.147, allocations: 0 / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.147, allocations: 0 / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.147, allocations: 0 / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.755e-05/0.1471, allocations: 27.92 kB / 487 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.1476, allocations: 280.9 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1478, allocations: 62.67 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.1479, allocations: 20.84 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1479, allocations: 4 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1481, allocations: 67.33 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1481, allocations: 0 / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006174/0.1488, allocations: 173.1 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1488, allocations: 63.39 kB / 487.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1491, allocations: 206.8 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1491, allocations: 29.7 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.1492, allocations: 104.1 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.1492, allocations: 23.7 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1493, allocations: 21.64 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1494, allocations: 326.8 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.1495, allocations: 20 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.1495, allocations: 41.7 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1497, allocations: 61.64 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1497, allocations: 0 / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.1499, allocations: 101.5 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1499, allocations: 4 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1499, allocations: 384 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1499, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.15, allocations: 23.97 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1501, allocations: 4 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.1501, allocations: 15.86 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.1502, allocations: 7.984 kB / 488.6 MB, free: 14.34 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.0001217/0.1503, allocations: 121.8 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1503, allocations: 7.906 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.1504, allocations: 25.39 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1504, allocations: 0 / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1504, allocations: 4 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1504, allocations: 3.938 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.1509, allocations: 399.2 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1509, allocations: 0 / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.151, allocations: 8 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.151, allocations: 7.938 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.151, allocations: 0 / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.151, allocations: 3.938 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.151, allocations: 4.031 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1513, allocations: 204.3 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.1514, allocations: 84.92 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1514, allocations: 11.94 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.1515, allocations: 7.984 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1515, allocations: 0 / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1515, allocations: 8 kB / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1517, allocations: 156.3 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1517, allocations: 0 / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.152, allocations: 27.98 kB / 489.7 MB, free: 13.17 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.001588/0.1535, allocations: 1.094 MB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1537, allocations: 59.91 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1538, allocations: 0 / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.1538, allocations: 32.05 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1542, allocations: 34.86 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1562, allocations: 1.707 MB / 492.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1565, allocations: 0.7083 MB / 493.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.736e-05/0.1566, allocations: 20.84 kB / 493.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.1567, allocations: 39.42 kB / 493.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1567, allocations: 0 / 493.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.17, allocations: 3.066 MB / 496.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.1703, allocations: 233.2 kB / 496.7 MB, free: 6.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.91, allocations: 0 / 496.7 MB, free: 6.312 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches