Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 197.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007304/0.0007304, allocations: 94.94 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3313/0.3313, allocations: 45 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3143, allocations: 63.1 MB / 0.5214 GB, free: 38.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001711/0.3161, allocations: 1.52 MB / 0.5229 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3182, allocations: 2.089 MB / 0.5249 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.3183, allocations: 0 / 0.5249 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.3186, allocations: 45.62 kB / 0.5249 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3189, allocations: 121.3 kB / 0.5251 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.3192, allocations: 150.4 kB / 0.5252 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.3194, allocations: 193.2 kB / 0.5254 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.3195, allocations: 7.469 kB / 0.5254 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3196, allocations: 89.16 kB / 0.5255 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3198, allocations: 76.52 kB / 0.5256 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3198, allocations: 2.594 kB / 0.5256 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.32, allocations: 96.75 kB / 0.5256 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.3201, allocations: 35.98 kB / 0.5257 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.3201, allocations: 85.73 kB / 0.5258 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3204, allocations: 222.3 kB / 0.526 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3204, allocations: 0 / 0.526 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3204, allocations: 0 / 0.526 GB, free: 35.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3204, allocations: 0 / 0.526 GB, free: 35.18 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.0005325/0.321, allocations: 474.7 kB / 0.5264 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.321, allocations: 12.72 kB / 0.5264 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.3211, allocations: 21.44 kB / 0.5265 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.3213, allocations: 251.9 kB / 0.5267 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3213, allocations: 4.125 kB / 0.5267 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3213, allocations: 8.125 kB / 0.5267 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3215, allocations: 105 kB / 0.5268 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3216, allocations: 0 / 0.5268 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3216, allocations: 4 kB / 0.5268 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3216, allocations: 2.906 kB / 0.5268 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.106e-05/0.3217, allocations: 29.09 kB / 0.5268 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.3219, allocations: 220.5 kB / 0.5271 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.3221, allocations: 109.3 kB / 0.5272 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.3222, allocations: 43.2 kB / 0.5272 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.3222, allocations: 2.875 kB / 0.5272 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.3225, allocations: 111.2 kB / 0.5273 GB, free: 33.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3225, allocations: 0 / 0.5273 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003969/0.3229, allocations: 160 kB / 0.5275 GB, free: 33.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.323, allocations: 135 kB / 0.5276 GB, free: 33.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3232, allocations: 233 kB / 0.5278 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3232, allocations: 28.39 kB / 0.5278 GB, free: 33.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.3232, allocations: 116.4 kB / 0.528 GB, free: 33.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.3233, allocations: 24.62 kB / 0.528 GB, free: 33.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.3233, allocations: 8 kB / 0.528 GB, free: 33.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.3234, allocations: 331.1 kB / 0.5283 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.3234, allocations: 25.22 kB / 0.5283 GB, free: 33.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.3235, allocations: 79.22 kB / 0.5284 GB, free: 33.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.3237, allocations: 94.36 kB / 0.5285 GB, free: 32.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3237, allocations: 0 / 0.5285 GB, free: 32.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002124/0.3239, allocations: 143.5 kB / 0.5286 GB, free: 32.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3239, allocations: 2.688 kB / 0.5286 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3239, allocations: 6.531 kB / 0.5286 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3239, allocations: 0 / 0.5286 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3241, allocations: 21.78 kB / 0.5287 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3241, allocations: 10.41 kB / 0.5287 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.3242, allocations: 13.03 kB / 0.5287 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3242, allocations: 5.938 kB / 0.5287 GB, free: 32.88 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 9.45e-05/0.3243, allocations: 133.7 kB / 0.5288 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3243, allocations: 23.56 kB / 0.5288 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.3244, allocations: 21.86 kB / 0.5289 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3244, allocations: 0 / 0.5289 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3244, allocations: 3.062 kB / 0.5289 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3244, allocations: 7.328 kB / 0.5289 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.3245, allocations: 224.2 kB / 0.5291 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3245, allocations: 0 / 0.5291 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.3246, allocations: 6.094 kB / 0.5291 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3246, allocations: 3.188 kB / 0.5291 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3246, allocations: 6.75 kB / 0.5291 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3246, allocations: 0 / 0.5291 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3246, allocations: 7.922 kB / 0.5291 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3249, allocations: 173 kB / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.3249, allocations: 104.9 kB / 0.5294 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.325, allocations: 7 kB / 0.5294 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.325, allocations: 9.016 kB / 0.5294 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3251, allocations: 2.656 kB / 0.5294 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3251, allocations: 14.5 kB / 0.5294 GB, free: 32.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3252, allocations: 176.2 kB / 0.5296 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3252, allocations: 4 kB / 0.5296 GB, free: 32.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.3255, allocations: 57.45 kB / 0.5296 GB, free: 32.14 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.0009496/0.3264, allocations: 0.5666 MB / 0.5302 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3266, allocations: 80.47 kB / 0.5303 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3267, allocations: 3.938 kB / 0.5303 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.3267, allocations: 42.08 kB / 0.5303 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.3271, allocations: 54.5 kB / 0.5304 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.3275, allocations: 318.7 kB / 0.5307 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.3276, allocations: 0.7146 MB / 0.5314 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.635e-05/0.3277, allocations: 37.16 kB / 0.5314 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.3278, allocations: 36.55 kB / 0.5314 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3278, allocations: 0 / 0.5314 GB, free: 30.79 MB / 378.7 MB Notification: Performance of Templates: time 0.00518/0.333, allocations: 2.996 MB / 0.5344 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches