Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.0009769/0.000977, allocations: 106 kB / 15.98 MB, free: 6.34 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.000998/0.0009981, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4158/0.4158, allocations: 43.5 MB / 313.6 MB, free: 8.312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 75.89 kB / 382.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1366, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00401/0.1407, allocations: 1.757 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.143, allocations: 1.383 MB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1432, allocations: 0 / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1436, allocations: 35.84 kB / 443.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.1439, allocations: 47.83 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1443, allocations: 75.86 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1445, allocations: 111.7 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1447, allocations: 12.2 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1448, allocations: 55.77 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.145, allocations: 39.84 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.145, allocations: 4 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.1452, allocations: 63.91 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.1453, allocations: 23.92 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.1454, allocations: 39.72 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1456, allocations: 124 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1457, allocations: 4 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1457, allocations: 0 / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.1457, allocations: 0 / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006659/0.1464, allocations: 415 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.1464, allocations: 15.89 kB / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.1465, allocations: 38.69 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.1465, allocations: 8.844 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1468, allocations: 216.4 kB / 444.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1469, allocations: 0 / 444.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1469, allocations: 4 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1471, allocations: 71.39 kB / 444.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1471, allocations: 8 kB / 444.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1471, allocations: 3.984 kB / 444.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1472, allocations: 0 / 444.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.995e-05/0.1473, allocations: 31.92 kB / 444.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1477, allocations: 296.7 kB / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.148, allocations: 70.67 kB / 445 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.1481, allocations: 28.8 kB / 445.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.1481, allocations: 3.984 kB / 445.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.1484, allocations: 75.33 kB / 445.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.1484, allocations: 0 / 445.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007797/0.1492, allocations: 193.3 kB / 445.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.1493, allocations: 85.05 kB / 445.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1495, allocations: 158.4 kB / 445.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1495, allocations: 25.7 kB / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.1496, allocations: 104.1 kB / 445.7 MB, free: 8.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1497, allocations: 31.56 kB / 445.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.1497, allocations: 29.7 kB / 445.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1499, allocations: 318.8 kB / 446.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.15, allocations: 27.98 kB / 446.1 MB, free: 8.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.1501, allocations: 54.5 kB / 446.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1502, allocations: 65.7 kB / 446.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1502, allocations: 0 / 446.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002218/0.1505, allocations: 113.5 kB / 446.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1505, allocations: 4 kB / 446.3 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1505, allocations: 4.406 kB / 446.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1505, allocations: 8.047 kB / 446.3 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1506, allocations: 19.94 kB / 446.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1506, allocations: 0 / 446.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.1507, allocations: 4 kB / 446.4 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1507, allocations: 7.984 kB / 446.4 MB, free: 7.848 MB / 382.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 (11): * Single equations (assignments): 11 * 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.0001235/0.1509, allocations: 121.8 kB / 446.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.1509, allocations: 7.906 kB / 446.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.1509, allocations: 24.62 kB / 446.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.151, allocations: 0 / 446.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.151, allocations: 4 kB / 446.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.151, allocations: 4.125 kB / 446.5 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.1515, allocations: 415.2 kB / 446.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1515, allocations: 7.938 kB / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.1516, allocations: 11.98 kB / 446.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1516, allocations: 7.984 kB / 447 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1516, allocations: 4 kB / 447 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1516, allocations: 3.938 kB / 447 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1516, allocations: 8.031 kB / 447 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1519, allocations: 208.2 kB / 447.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1519, allocations: 89 kB / 447.3 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.1519, allocations: 8 kB / 447.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.152, allocations: 0 / 447.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1521, allocations: 11.98 kB / 447.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.1521, allocations: 4 kB / 447.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.1522, allocations: 127.9 kB / 447.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1522, allocations: 0 / 447.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1525, allocations: 28 kB / 447.4 MB, free: 6.672 MB / 382.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 (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.001716/0.1542, allocations: 1.156 MB / 448.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1545, allocations: 75.91 kB / 448.7 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.1545, allocations: 0 / 448.7 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.1546, allocations: 35.92 kB / 448.7 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1549, allocations: 31.98 kB / 448.7 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1567, allocations: 1.626 MB / 450.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.157, allocations: 0.7002 MB / 451.1 MB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.018e-05/0.1571, allocations: 28.58 kB / 451.1 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.1572, allocations: 39.42 kB / 451.1 MB, free: 2.871 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1572, allocations: 0 / 451.1 MB, free: 2.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2347/0.3919, allocations: 3.525 MB / 454.6 MB, free: 48.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.3921, allocations: 241.5 kB / 454.9 MB, free: 48.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.204, allocations: 2.578 kB / 454.9 MB, free: 48.28 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches