Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 202.7 kB / 17.43 MB, free: 4.242 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009643/0.0009645, allocations: 105.5 kB / 299.8 MB, free: 5.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3274/0.3274, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002564, allocations: 8 kB / 470.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3332, allocations: 63.1 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00154/0.3348, allocations: 1.444 MB / 0.5228 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.336, allocations: 1.35 MB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.3361, allocations: 4 kB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.3363, allocations: 50.33 kB / 0.5242 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3365, allocations: 77.09 kB / 0.5242 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.3368, allocations: 96.67 kB / 0.5243 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3369, allocations: 123.8 kB / 0.5244 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.578e-05/0.337, allocations: 11.33 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.3371, allocations: 47.17 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.3372, allocations: 53.42 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3372, allocations: 2.969 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.3373, allocations: 49.7 kB / 0.5246 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.3373, allocations: 30.44 kB / 0.5246 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.3374, allocations: 69.22 kB / 0.5247 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3376, allocations: 151.3 kB / 0.5248 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3376, allocations: 0 / 0.5248 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3376, allocations: 0 / 0.5248 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3376, allocations: 0 / 0.5248 GB, free: 35.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003714/0.338, allocations: 419.6 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.338, allocations: 8.469 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.338, allocations: 10.5 kB / 0.5253 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3382, allocations: 235.8 kB / 0.5255 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3382, allocations: 3.312 kB / 0.5255 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3383, allocations: 7.031 kB / 0.5255 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3384, allocations: 68.11 kB / 0.5256 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3384, allocations: 3.281 kB / 0.5256 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3384, allocations: 0 / 0.5256 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.3384, allocations: 6.938 kB / 0.5256 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.3385, allocations: 50.14 kB / 0.5256 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.3388, allocations: 320.3 kB / 0.5259 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3391, allocations: 79.3 kB / 0.526 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.3391, allocations: 29.56 kB / 0.526 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3392, allocations: 7.234 kB / 0.526 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3393, allocations: 82.55 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.3393, allocations: 0 / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006715/0.34, allocations: 292.1 kB / 0.5264 GB, free: 34.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.34, allocations: 55.34 kB / 0.5264 GB, free: 34.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3402, allocations: 200 kB / 0.5266 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3402, allocations: 28.2 kB / 0.5267 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.3402, allocations: 104.7 kB / 0.5268 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3403, allocations: 43.72 kB / 0.5268 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.3403, allocations: 2.75 kB / 0.5268 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.3403, allocations: 328.2 kB / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.3404, allocations: 33.5 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.3405, allocations: 59.64 kB / 0.5272 GB, free: 33.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3406, allocations: 102.8 kB / 0.5273 GB, free: 33.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3406, allocations: 0 / 0.5273 GB, free: 33.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002027/0.3408, allocations: 154.6 kB / 0.5275 GB, free: 33.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3409, allocations: 5.781 kB / 0.5275 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3409, allocations: 0 / 0.5275 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3409, allocations: 2.719 kB / 0.5275 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.341, allocations: 38.55 kB / 0.5275 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.341, allocations: 3.938 kB / 0.5275 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.341, allocations: 11.09 kB / 0.5275 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3411, allocations: 5.062 kB / 0.5275 GB, free: 33.75 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 (15): * Single equations (assignments): 15 * 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.128e-05/0.3411, allocations: 130.5 kB / 0.5276 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.3412, allocations: 15.78 kB / 0.5277 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.3412, allocations: 22.48 kB / 0.5277 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3412, allocations: 2.625 kB / 0.5277 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3412, allocations: 3.938 kB / 0.5277 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3412, allocations: 3.938 kB / 0.5277 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3417, allocations: 493.2 kB / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3417, allocations: 5.875 kB / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.3417, allocations: 14.84 kB / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3417, allocations: 0 / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3418, allocations: 6.359 kB / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.3418, allocations: 2.938 kB / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3418, allocations: 4 kB / 0.5282 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.342, allocations: 255.8 kB / 0.5284 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.342, allocations: 91.64 kB / 0.5285 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3421, allocations: 6.594 kB / 0.5285 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.3421, allocations: 2.594 kB / 0.5285 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3422, allocations: 16.95 kB / 0.5285 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3422, allocations: 9.062 kB / 0.5286 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.3423, allocations: 141.7 kB / 0.5287 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3423, allocations: 0 / 0.5287 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.3425, allocations: 38.08 kB / 0.5287 GB, free: 32.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001081/0.3436, allocations: 0.5878 MB / 0.5293 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.3438, allocations: 101.6 kB / 0.5294 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3438, allocations: 2.969 kB / 0.5294 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.3439, allocations: 45.59 kB / 0.5294 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3442, allocations: 41.45 kB / 0.5295 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.3447, allocations: 313.8 kB / 0.5298 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.3448, allocations: 0.7179 MB / 0.5305 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.3449, allocations: 27.3 kB / 0.5305 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.345, allocations: 19.41 kB / 0.5305 GB, free: 31.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.345, allocations: 3.938 kB / 0.5305 GB, free: 31.43 MB / 378.7 MB Notification: Performance of Templates: time 0.003964/0.3489, allocations: 2.064 MB / 0.5325 GB, free: 31.2 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches