Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009963/0.0009964, allocations: 178.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.7 MB / 243.9 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007342/0.0007343, allocations: 93.36 kB / 295.1 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4146/0.4146, allocations: 44.31 MB / 390.5 MB, free: 37.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 12 kB / 463.2 MB, free: 204 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3181, allocations: 61.9 MB / 0.5127 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.001697/0.3198, allocations: 1.403 MB / 0.5141 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3214, allocations: 1.555 MB / 0.5156 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.3215, allocations: 0 / 0.5156 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3218, allocations: 36.06 kB / 0.5157 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.3219, allocations: 45.55 kB / 0.5157 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.3222, allocations: 94.17 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.3223, allocations: 92.75 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.3224, allocations: 9.609 kB / 0.5159 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.3225, allocations: 48.75 kB / 0.5159 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3226, allocations: 29 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3227, allocations: 2.906 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3228, allocations: 54.55 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.3228, allocations: 12.67 kB / 0.516 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.3229, allocations: 51.02 kB / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.323, allocations: 126.8 kB / 0.5162 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3231, allocations: 0 / 0.5162 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3231, allocations: 4 kB / 0.5162 GB, free: 35.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3231, allocations: 0 / 0.5162 GB, free: 35.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004401/0.3235, allocations: 392.5 kB / 0.5166 GB, free: 35.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3236, allocations: 9.781 kB / 0.5166 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3236, allocations: 7.906 kB / 0.5166 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3238, allocations: 204.8 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3238, allocations: 3.156 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3239, allocations: 8.125 kB / 0.5168 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.324, allocations: 73.84 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.324, allocations: 0 / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.324, allocations: 0 / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3241, allocations: 2.781 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.3241, allocations: 18.11 kB / 0.5169 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.3244, allocations: 280.1 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3246, allocations: 63.88 kB / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.3246, allocations: 17.55 kB / 0.5172 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3246, allocations: 2.938 kB / 0.5172 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.3248, allocations: 68.58 kB / 0.5173 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3248, allocations: 2.938 kB / 0.5173 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004767/0.3253, allocations: 172.5 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3254, allocations: 84.47 kB / 0.5176 GB, free: 34.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3255, allocations: 154.6 kB / 0.5177 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3255, allocations: 29.7 kB / 0.5177 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.3255, allocations: 91.08 kB / 0.5178 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3256, allocations: 26.42 kB / 0.5178 GB, free: 33.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.3256, allocations: 4.875 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.3256, allocations: 324.4 kB / 0.5182 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.3257, allocations: 25.77 kB / 0.5182 GB, free: 33.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.3257, allocations: 48.11 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.83e-05/0.3258, allocations: 57.52 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3259, allocations: 1 kB / 0.5183 GB, free: 33.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001583/0.326, allocations: 101.3 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.326, allocations: 8.281 kB / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.326, allocations: 1.469 kB / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3261, allocations: 0 / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.3262, allocations: 16.22 kB / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3262, allocations: 1.438 kB / 0.5184 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.3262, allocations: 10.72 kB / 0.5184 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.3262, allocations: 2.781 kB / 0.5184 GB, free: 33.41 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.303e-05/0.3263, allocations: 126.7 kB / 0.5185 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.3263, allocations: 9.188 kB / 0.5186 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.3264, allocations: 15.78 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3264, allocations: 5.141 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3264, allocations: 0 / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3264, allocations: 8.094 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.3267, allocations: 381.3 kB / 0.5189 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3268, allocations: 4.328 kB / 0.519 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.3268, allocations: 7.469 kB / 0.519 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3268, allocations: 0.6562 kB / 0.519 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3268, allocations: 9.375 kB / 0.519 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3268, allocations: 1.531 kB / 0.519 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3268, allocations: 0 / 0.519 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.327, allocations: 209.6 kB / 0.5192 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.3271, allocations: 91.62 kB / 0.5193 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3271, allocations: 6.219 kB / 0.5193 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.3272, allocations: 6.062 kB / 0.5193 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3272, allocations: 10.59 kB / 0.5193 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3272, allocations: 3.5 kB / 0.5193 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.3273, allocations: 120.4 kB / 0.5194 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 0 / 0.5194 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00025/0.3276, allocations: 31.8 kB / 0.5194 GB, free: 32.53 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: 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 (8): * Single equations (assignments): 6 * 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.001095/0.3287, allocations: 0.5777 MB / 0.52 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.3289, allocations: 61.72 kB / 0.52 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3289, allocations: 0 / 0.52 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.329, allocations: 32.3 kB / 0.5201 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3293, allocations: 31.62 kB / 0.5201 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3297, allocations: 216.5 kB / 0.5203 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.3299, allocations: 0.6952 MB / 0.521 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.3299, allocations: 19.02 kB / 0.521 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.33, allocations: 17.69 kB / 0.521 GB, free: 31.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.33, allocations: 4 kB / 0.521 GB, free: 31.25 MB / 378.7 MB Notification: Performance of Templates: time 0.004413/0.3344, allocations: 1.871 MB / 0.5229 GB, free: 31.05 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches