Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 169.7 kB / 16.08 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.323/1.323, allocations: 205.6 MB / 222.4 MB, free: 8.93 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.0007141/0.0007141, allocations: 95.3 kB / 270.8 MB, free: 8.129 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.3434/0.3434, allocations: 43.67 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 58.86 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00227/0.1178, allocations: 1.594 MB / 492.8 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1192, allocations: 0.9356 MB / 493.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1193, allocations: 4 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1197, allocations: 43.77 kB / 493.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1199, allocations: 43.84 kB / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1202, allocations: 87.83 kB / 493.9 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1204, allocations: 131.5 kB / 494 MB, free: 7.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1205, allocations: 29.75 kB / 494 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.1206, allocations: 55.72 kB / 494.1 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.1207, allocations: 39.72 kB / 494.1 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1207, allocations: 0 / 494.1 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1209, allocations: 43.92 kB / 494.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.1209, allocations: 15.92 kB / 494.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.121, allocations: 77.36 kB / 494.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1212, allocations: 135.5 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1213, allocations: 0 / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1213, allocations: 4 kB / 494.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1213, allocations: 4 kB / 494.4 MB, free: 6.738 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006006/0.1219, allocations: 452.6 kB / 494.8 MB, free: 6.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1219, allocations: 15.97 kB / 494.9 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.122, allocations: 12.75 kB / 494.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1222, allocations: 220.1 kB / 495.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1223, allocations: 8.375 kB / 495.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1223, allocations: 8.125 kB / 495.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1225, allocations: 120.2 kB / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1226, allocations: 0 / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1226, allocations: 0 / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1226, allocations: 4 kB / 495.2 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1228, allocations: 47.97 kB / 495.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.1234, allocations: 0.5087 MB / 495.8 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.1237, allocations: 94.61 kB / 495.9 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1239, allocations: 40.83 kB / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1239, allocations: 3.938 kB / 495.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1241, allocations: 91.31 kB / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1241, allocations: 0 / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003905/0.1245, allocations: 145.4 kB / 496.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.1246, allocations: 55.34 kB / 496.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1248, allocations: 191.5 kB / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1248, allocations: 25.7 kB / 496.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.1249, allocations: 127.9 kB / 496.5 MB, free: 4.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1249, allocations: 23.7 kB / 496.6 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.1249, allocations: 4 kB / 496.6 MB, free: 4.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.125, allocations: 326.8 kB / 496.9 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.1251, allocations: 27.98 kB / 496.9 MB, free: 3.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1252, allocations: 68.27 kB / 497 MB, free: 3.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.1254, allocations: 100.2 kB / 497.1 MB, free: 3.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1254, allocations: 4 kB / 497.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.1257, allocations: 137.7 kB / 497.2 MB, free: 3.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1258, allocations: 4 kB / 497.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1258, allocations: 4 kB / 497.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1258, allocations: 96 / 497.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1259, allocations: 39.92 kB / 497.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1259, allocations: 4 kB / 497.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.126, allocations: 15.84 kB / 497.3 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.126, allocations: 4 kB / 497.3 MB, free: 3.578 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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.0001033/0.1261, allocations: 125.8 kB / 497.4 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1262, allocations: 15.89 kB / 497.4 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1262, allocations: 17.41 kB / 497.4 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1262, allocations: 3.938 kB / 497.4 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1262, allocations: 11.94 kB / 497.5 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1262, allocations: 3.984 kB / 497.5 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1264, allocations: 205.5 kB / 497.7 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1264, allocations: 4 kB / 497.7 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.1265, allocations: 12 kB / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1265, allocations: 0 / 497.7 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1266, allocations: 4 kB / 497.7 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1266, allocations: 3.938 kB / 497.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1266, allocations: 0 / 497.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.127, allocations: 188.8 kB / 497.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1271, allocations: 92.89 kB / 498 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1271, allocations: 8 kB / 498 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.1272, allocations: 11.92 kB / 498 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.1272, allocations: 7.984 kB / 498 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1272, allocations: 8.062 kB / 498 MB, free: 2.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1274, allocations: 141.2 kB / 498.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1274, allocations: 0 / 498.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000223/0.1276, allocations: 24 kB / 498.2 MB, free: 2.609 MB / 378.7 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.0009462/0.1286, allocations: 481.8 kB / 498.6 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1288, allocations: 88.05 kB / 498.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1288, allocations: 0 / 498.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1289, allocations: 39.92 kB / 498.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1293, allocations: 35.42 kB / 498.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.1298, allocations: 313.6 kB / 499.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1301, allocations: 0.7162 MB / 499.8 MB, free: 1.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.756e-05/0.1302, allocations: 13.42 kB / 499.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.1303, allocations: 15.44 kB / 499.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1303, allocations: 0 / 499.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of Templates: time 0.1854/0.3156, allocations: 1.765 MB / 0.4898 GB, free: 42.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches