Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 174 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.9 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007118/0.0007118, allocations: 92.72 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3043/0.3043, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004099, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002276/0.1252, allocations: 1.483 MB / 492.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1266, allocations: 0.8162 MB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.1267, allocations: 0 / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.1272, allocations: 283.4 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.1276, allocations: 199.5 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.128, allocations: 127.8 kB / 493.7 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.1284, allocations: 195.4 kB / 493.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.1285, allocations: 17.55 kB / 493.9 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1287, allocations: 115.6 kB / 494.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.129, allocations: 163.5 kB / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1291, allocations: 4 kB / 494.2 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1292, allocations: 32 kB / 494.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1294, allocations: 135.6 kB / 494.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.1296, allocations: 148.7 kB / 494.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.1299, allocations: 271.8 kB / 494.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1299, allocations: 0 / 494.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1299, allocations: 0 / 494.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.13, allocations: 4 kB / 494.8 MB, free: 6.883 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009975/0.131, allocations: 0.6649 MB / 495.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.131, allocations: 8.031 kB / 495.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.903e-05/0.1311, allocations: 44.38 kB / 495.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.1317, allocations: 436 kB / 495.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1317, allocations: 8.359 kB / 495.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1317, allocations: 8.125 kB / 496 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1319, allocations: 91.3 kB / 496 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.132, allocations: 0 / 496 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.132, allocations: 3.984 kB / 496 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.132, allocations: 4 kB / 496 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1321, allocations: 23.98 kB / 496.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1325, allocations: 374.2 kB / 496.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1328, allocations: 109.2 kB / 496.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.1329, allocations: 45.58 kB / 496.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1329, allocations: 4 kB / 496.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.1332, allocations: 109 kB / 496.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1332, allocations: 3.938 kB / 496.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004756/0.1337, allocations: 193 kB / 496.9 MB, free: 4.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.1337, allocations: 81.11 kB / 497 MB, free: 4.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.1348, allocations: 1.007 MB / 498 MB, free: 3.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1348, allocations: 33.69 kB / 498 MB, free: 3.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.135, allocations: 232 kB / 498.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1351, allocations: 27.7 kB / 498.3 MB, free: 3.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1351, allocations: 0 / 498.3 MB, free: 3.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1352, allocations: 366.8 kB / 498.6 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.1353, allocations: 23.98 kB / 498.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.1354, allocations: 63.36 kB / 498.7 MB, free: 2.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1356, allocations: 91.84 kB / 498.8 MB, free: 2.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1356, allocations: 4 kB / 498.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002909/0.1359, allocations: 165 kB / 499 MB, free: 2.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1359, allocations: 4 kB / 499 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.136, allocations: 4.047 kB / 499 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.136, allocations: 8 kB / 499 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1361, allocations: 16 kB / 499 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1361, allocations: 3.938 kB / 499 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1362, allocations: 23.83 kB / 499 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1362, allocations: 4 kB / 499 MB, free: 2.367 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.1364, allocations: 229.5 kB / 499.2 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.1365, allocations: 51.34 kB / 499.3 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.1366, allocations: 59.84 kB / 499.4 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1366, allocations: 0 / 499.4 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1366, allocations: 4 kB / 499.4 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1366, allocations: 0 / 499.4 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.1369, allocations: 333.4 kB / 499.7 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1369, allocations: 0 / 499.7 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.137, allocations: 15.98 kB / 499.7 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.137, allocations: 0 / 499.7 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.137, allocations: 4 kB / 499.7 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.137, allocations: 3.938 kB / 499.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.137, allocations: 3.938 kB / 499.7 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1374, allocations: 197.3 kB / 499.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1375, allocations: 152.4 kB / 0.4883 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.1375, allocations: 7.938 kB / 0.4883 GB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.1376, allocations: 11.97 kB / 0.4884 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1377, allocations: 8 kB / 0.4884 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1377, allocations: 11.98 kB / 0.4884 GB, free: 1.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007716/0.1385, allocations: 0.7487 MB / 0.4891 GB, free: 460 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1385, allocations: 0 / 0.4891 GB, free: 460 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.1388, allocations: 40 kB / 0.4891 GB, free: 420 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008716/0.1396, allocations: 403 kB / 0.4895 GB, free: 60 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.18/0.3197, allocations: 77.7 kB / 0.4896 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.3197, allocations: 4.125 kB / 0.4896 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3199, allocations: 41.86 kB / 0.4896 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.3206, allocations: 65.34 kB / 0.4897 GB, free: 43.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.3227, allocations: 0.9318 MB / 0.4906 GB, free: 43.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.3234, allocations: 0.8378 MB / 0.4914 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3236, allocations: 31.48 kB / 0.4915 GB, free: 42.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3236, allocations: 0.9688 kB / 0.4915 GB, free: 42.49 MB / 378.7 MB Notification: Performance of Templates: time 0.0114/0.335, allocations: 4.871 MB / 0.4962 GB, free: 41.96 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches