Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001515, allocations: 106.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 44.18 MB / 336.3 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 72.27 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 60.82 MB / 468.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003666/0.1353, allocations: 1.973 MB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1368, allocations: 0.8964 MB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.137, allocations: 0 / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1373, allocations: 39.77 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.1377, allocations: 51.83 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.1381, allocations: 115.5 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.1384, allocations: 139.6 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1385, allocations: 21.48 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1387, allocations: 67.64 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1388, allocations: 51.72 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1388, allocations: 4 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1389, allocations: 43.98 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.139, allocations: 27.91 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.1391, allocations: 51.67 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1394, allocations: 147.7 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1394, allocations: 0 / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1394, allocations: 0 / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1394, allocations: 4 kB / 472.4 MB, free: 10.96 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006492/0.1401, allocations: 472.5 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1401, allocations: 15.97 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.1402, allocations: 34.75 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.1402, allocations: 16.75 kB / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1405, allocations: 232.4 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1405, allocations: 4.375 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1406, allocations: 11.94 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1408, allocations: 108.2 kB / 473.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1408, allocations: 0 / 473.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1409, allocations: 0 / 473.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1409, allocations: 4 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.141, allocations: 47.91 kB / 473.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.1417, allocations: 0.5126 MB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.142, allocations: 82.66 kB / 474 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.1421, allocations: 48.77 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1421, allocations: 0 / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.1424, allocations: 87.31 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1424, allocations: 0 / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003963/0.1428, allocations: 145.3 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1428, allocations: 55.41 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.143, allocations: 187.5 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.143, allocations: 29.7 kB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.1431, allocations: 112 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1432, allocations: 27.61 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1432, allocations: 29.84 kB / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1434, allocations: 330.8 kB / 475 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-05/0.1435, allocations: 31.98 kB / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1436, allocations: 60.28 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1438, allocations: 108.5 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1438, allocations: 0 / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002642/0.1441, allocations: 133.3 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1441, allocations: 8 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1441, allocations: 0 / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1441, allocations: 3.938 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.1442, allocations: 27.98 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1442, allocations: 0 / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.1443, allocations: 20.05 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1443, allocations: 7.938 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001055/0.1444, allocations: 125.8 kB / 475.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1445, allocations: 15.81 kB / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.1445, allocations: 21.39 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1445, allocations: 3.938 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1445, allocations: 4 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1445, allocations: 0 / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1448, allocations: 205.6 kB / 475.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1448, allocations: 4 kB / 475.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.1449, allocations: 15.98 kB / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1449, allocations: 0 / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1449, allocations: 4 kB / 475.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1449, allocations: 3.938 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1449, allocations: 15.86 kB / 475.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.1453, allocations: 185 kB / 476 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1454, allocations: 88.86 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.1455, allocations: 7.984 kB / 476.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.1455, allocations: 11.94 kB / 476.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1456, allocations: 7.984 kB / 476.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1456, allocations: 0 / 476.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1457, allocations: 141.2 kB / 476.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1457, allocations: 0 / 476.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.146, allocations: 24 kB / 476.3 MB, free: 6.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001616/0.1476, allocations: 1.018 MB / 477.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1479, allocations: 80.03 kB / 477.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1479, allocations: 4.062 kB / 477.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1481, allocations: 35.97 kB / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1484, allocations: 39.84 kB / 477.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.1507, allocations: 1.771 MB / 479.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.151, allocations: 0.7127 MB / 479.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.779e-05/0.1511, allocations: 17.42 kB / 479.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.1512, allocations: 39.42 kB / 480 MB, free: 3.047 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1512, allocations: 3.938 kB / 480 MB, free: 3.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.1757, allocations: 3.576 MB / 483.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.176, allocations: 239 kB / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.146, allocations: 0 / 483.8 MB, free: 15.32 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches