Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 105.8 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 72.55 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 62.46 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003343/0.1297, allocations: 1.773 MB / 481.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1315, allocations: 1.013 MB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.1316, allocations: 4 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.1318, allocations: 43.83 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.1321, allocations: 79.73 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1323, allocations: 71.86 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1326, allocations: 103.6 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.1327, allocations: 11.98 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.016e-05/0.1327, allocations: 47.78 kB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.1328, allocations: 31.8 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1328, allocations: 4 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-05/0.1329, allocations: 43.98 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.133, allocations: 23.91 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.133, allocations: 43.67 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1333, allocations: 115.9 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1333, allocations: 4 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1333, allocations: 0 / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1333, allocations: 0 / 483 MB, free: 2.07 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.0005493/0.1339, allocations: 418.9 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1339, allocations: 12.03 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.1339, allocations: 34.75 kB / 483.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.134, allocations: 16.73 kB / 483.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1342, allocations: 220 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1342, allocations: 4.359 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1342, allocations: 7.938 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1344, allocations: 53.67 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1344, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1344, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1344, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.1345, allocations: 23.98 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.1348, allocations: 284.9 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.135, allocations: 62.61 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.135, allocations: 20.8 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.135, allocations: 4 kB / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1352, allocations: 67.39 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1352, allocations: 0 / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005378/0.1358, allocations: 181 kB / 484.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1358, allocations: 51.41 kB / 484.4 MB, free: 456 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.136, allocations: 210.8 kB / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.136, allocations: 33.7 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1361, allocations: 104.1 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1361, allocations: 23.7 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1361, allocations: 33.7 kB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1363, allocations: 326.8 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1363, allocations: 15.94 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.1364, allocations: 37.7 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1365, allocations: 53.7 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1366, allocations: 0 / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.1367, allocations: 109.4 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1368, allocations: 4 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1368, allocations: 3.984 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1368, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.1369, allocations: 20.36 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1369, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.1369, allocations: 15.81 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1369, allocations: 7.984 kB / 485.4 MB, free: 15.41 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 8.992e-05/0.137, allocations: 129.9 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1371, allocations: 7.906 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.1371, allocations: 21.39 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1371, allocations: 0 / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1371, allocations: 0 / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1371, allocations: 3.938 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1375, allocations: 399.2 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1375, allocations: 0 / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.1376, allocations: 16.03 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1376, allocations: 7.938 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1376, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1376, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1376, allocations: 192 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.1378, allocations: 204.2 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.1379, allocations: 96.84 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1379, allocations: 11.94 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.138, allocations: 0 / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.138, allocations: 7.984 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.138, allocations: 8 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1382, allocations: 156.3 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1382, allocations: 3.938 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1384, allocations: 20 kB / 486.5 MB, free: 14.23 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.00139/0.1398, allocations: 1.089 MB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.14, allocations: 59.92 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.14, allocations: 0 / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.1401, allocations: 27.98 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.1404, allocations: 32.19 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1421, allocations: 1.714 MB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1423, allocations: 0.7119 MB / 490.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.568e-05/0.1424, allocations: 24.84 kB / 490.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.1424, allocations: 35.42 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1425, allocations: 0 / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.1661, allocations: 3.332 MB / 493.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1664, allocations: 230.2 kB / 493.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.15, allocations: 0 / 493.7 MB, free: 7.094 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches