Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009082/0.0009083, allocations: 170.4 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007245/0.0007246, allocations: 90.78 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3477/0.3477, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 19.92 kB / 432.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 58.84 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001925/0.117, allocations: 1.483 MB / 492.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1184, allocations: 0.8993 MB / 493.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.1185, allocations: 3.938 kB / 493.5 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.119, allocations: 287.4 kB / 493.8 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.1193, allocations: 199.5 kB / 494 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.1197, allocations: 127.8 kB / 494.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.12, allocations: 231.4 kB / 494.4 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.91e-05/0.1201, allocations: 13.53 kB / 494.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1203, allocations: 123.5 kB / 494.5 MB, free: 6.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.1206, allocations: 184 kB / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.1206, allocations: 4 kB / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1208, allocations: 35.92 kB / 494.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.1209, allocations: 132.6 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.1211, allocations: 160.5 kB / 495 MB, free: 5.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1216, allocations: 350.9 kB / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1216, allocations: 0 / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.729e-06/0.1216, allocations: 0 / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1216, allocations: 3.938 kB / 495.4 MB, free: 5.555 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.001041/0.1227, allocations: 0.6572 MB / 496 MB, free: 4.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1227, allocations: 12.03 kB / 496 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.1228, allocations: 44.38 kB / 496.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.1234, allocations: 443.9 kB / 496.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1234, allocations: 384 / 496.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1234, allocations: 12.12 kB / 496.5 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.1236, allocations: 91.28 kB / 496.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1237, allocations: 0 / 496.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1237, allocations: 4 kB / 496.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1237, allocations: 0 / 496.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1238, allocations: 23.98 kB / 496.6 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.1242, allocations: 378.2 kB / 497 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1245, allocations: 113.2 kB / 497.1 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.1246, allocations: 41.64 kB / 497.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1246, allocations: 7.922 kB / 497.2 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.1248, allocations: 109 kB / 497.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1248, allocations: 0 / 497.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000455/0.1253, allocations: 197 kB / 497.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1254, allocations: 77.11 kB / 497.5 MB, free: 3.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009983/0.1264, allocations: 1.007 MB / 498.5 MB, free: 2.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1264, allocations: 29.69 kB / 498.6 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1266, allocations: 232 kB / 498.8 MB, free: 1.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.1266, allocations: 35.62 kB / 498.8 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.1266, allocations: 4 kB / 498.8 MB, free: 1.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1268, allocations: 362.8 kB / 499.2 MB, free: 1.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.1269, allocations: 27.98 kB / 499.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.127, allocations: 59.36 kB / 499.3 MB, free: 1.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1271, allocations: 87.41 kB / 499.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1272, allocations: 0 / 499.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002812/0.1274, allocations: 164.9 kB / 499.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1275, allocations: 8 kB / 499.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1275, allocations: 3.984 kB / 499.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1275, allocations: 0 / 499.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1276, allocations: 24.06 kB / 499.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1276, allocations: 3.984 kB / 499.6 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.1277, allocations: 15.91 kB / 499.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1278, allocations: 11.88 kB / 499.6 MB, free: 1.039 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.128, allocations: 222.2 kB / 499.8 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.128, allocations: 47.34 kB / 499.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.1281, allocations: 63.84 kB / 499.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1281, allocations: 0 / 499.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1281, allocations: 4 kB / 499.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1281, allocations: 4 kB / 499.9 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.1285, allocations: 337.3 kB / 0.4885 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1285, allocations: 0 / 0.4885 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.1285, allocations: 11.98 kB / 0.4885 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1285, allocations: 0 / 0.4885 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1285, allocations: 4 kB / 0.4885 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1285, allocations: 4 kB / 0.4885 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1286, allocations: 3.938 kB / 0.4886 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1289, allocations: 197.3 kB / 0.4887 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1834/0.3123, allocations: 142.4 kB / 0.4889 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3124, allocations: 6.344 kB / 0.4889 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3125, allocations: 7.016 kB / 0.4889 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.3126, allocations: 10.91 kB / 0.4889 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3126, allocations: 3.922 kB / 0.4889 GB, free: 43.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009119/0.3136, allocations: 0.748 MB / 0.4896 GB, free: 43.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3136, allocations: 0 / 0.4896 GB, free: 43.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00032/0.3139, allocations: 41.22 kB / 0.4897 GB, free: 43.39 MB / 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 (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.0009148/0.3148, allocations: 476.2 kB / 0.4901 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.3151, allocations: 82.44 kB / 0.4902 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3151, allocations: 4.359 kB / 0.4902 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3153, allocations: 41.53 kB / 0.4902 GB, free: 43.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.3157, allocations: 72.81 kB / 0.4903 GB, free: 43.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.317, allocations: 0.9292 MB / 0.4912 GB, free: 42.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.3174, allocations: 0.8341 MB / 0.492 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.3175, allocations: 59.25 kB / 0.4921 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.3176, allocations: 31.17 kB / 0.4921 GB, free: 42.1 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3176, allocations: 0 / 0.4921 GB, free: 42.1 MB / 378.7 MB Notification: Performance of Templates: time 0.007998/0.3256, allocations: 3.412 MB / 0.4955 GB, free: 41.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches