Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009033/0.0009033, allocations: 195.8 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007451/0.0007451, allocations: 103.8 kB / 299.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2799/0.2799, allocations: 45.02 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 8 kB / 470.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2906, allocations: 63.1 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001578/0.2922, allocations: 1.389 MB / 0.5227 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2936, allocations: 1.33 MB / 0.524 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.2937, allocations: 2.438 kB / 0.524 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.294, allocations: 65.08 kB / 0.5241 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.2942, allocations: 87.27 kB / 0.5242 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2944, allocations: 87.84 kB / 0.5243 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.2946, allocations: 105.1 kB / 0.5244 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.2946, allocations: 6.984 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.2947, allocations: 48.33 kB / 0.5244 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.2947, allocations: 42.44 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2948, allocations: 2.5 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.2948, allocations: 33.97 kB / 0.5245 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.2949, allocations: 19.09 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.2949, allocations: 57.14 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2951, allocations: 101.3 kB / 0.5247 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2951, allocations: 8 kB / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2951, allocations: 0 / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.2951, allocations: 0 / 0.5247 GB, free: 35.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003529/0.2955, allocations: 380.7 kB / 0.525 GB, free: 35.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2955, allocations: 14.59 kB / 0.525 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.2955, allocations: 11.94 kB / 0.5251 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.2957, allocations: 212.8 kB / 0.5253 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2957, allocations: 384 / 0.5253 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2957, allocations: 8.062 kB / 0.5253 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2959, allocations: 52.47 kB / 0.5253 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2959, allocations: 0 / 0.5253 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2959, allocations: 0 / 0.5253 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2959, allocations: 0 / 0.5253 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.296, allocations: 16.3 kB / 0.5253 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.2961, allocations: 178.5 kB / 0.5255 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2962, allocations: 61.48 kB / 0.5256 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.2963, allocations: 25.45 kB / 0.5256 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.2963, allocations: 0 / 0.5256 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.2964, allocations: 66.05 kB / 0.5257 GB, free: 35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.2964, allocations: 0 / 0.5257 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002733/0.2967, allocations: 90.23 kB / 0.5257 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.2967, allocations: 55.41 kB / 0.5258 GB, free: 34.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2969, allocations: 198.8 kB / 0.526 GB, free: 34.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.2969, allocations: 25.7 kB / 0.526 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.2969, allocations: 105.3 kB / 0.5261 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.297, allocations: 18.19 kB / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.297, allocations: 0 / 0.5261 GB, free: 34.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.297, allocations: 325 kB / 0.5264 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.2971, allocations: 15.8 kB / 0.5264 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.2971, allocations: 30.45 kB / 0.5265 GB, free: 34.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.2972, allocations: 54.84 kB / 0.5265 GB, free: 34.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2972, allocations: 0 / 0.5265 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001216/0.2973, allocations: 85.03 kB / 0.5266 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2973, allocations: 5.656 kB / 0.5266 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2974, allocations: 0 / 0.5266 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2974, allocations: 6.844 kB / 0.5266 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.2974, allocations: 16.42 kB / 0.5266 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2975, allocations: 4 kB / 0.5266 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.2975, allocations: 2.938 kB / 0.5266 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.2975, allocations: 6.812 kB / 0.5267 GB, free: 34.16 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 (7): * Single equations (assignments): 7 * 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 6.113e-05/0.2976, allocations: 129.5 kB / 0.5268 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.2976, allocations: 9.969 kB / 0.5268 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.2976, allocations: 14.67 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2976, allocations: 3.125 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2977, allocations: 3.938 kB / 0.5268 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2977, allocations: 4 kB / 0.5268 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.204e-05/0.2977, allocations: 185.2 kB / 0.527 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2978, allocations: 0 / 0.527 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.2978, allocations: 2.812 kB / 0.527 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2978, allocations: 2.844 kB / 0.527 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.2978, allocations: 3.141 kB / 0.527 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2978, allocations: 0 / 0.527 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2978, allocations: 0 / 0.527 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2979, allocations: 119.6 kB / 0.5271 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.298, allocations: 90.73 kB / 0.5272 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.298, allocations: 0 / 0.5272 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.298, allocations: 3.031 kB / 0.5272 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.2981, allocations: 4 kB / 0.5272 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2981, allocations: 7.25 kB / 0.5272 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.173e-05/0.2982, allocations: 138.9 kB / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2982, allocations: 0 / 0.5273 GB, free: 33.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.2984, allocations: 21.62 kB / 0.5274 GB, free: 33.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0007766/0.2992, allocations: 483.2 kB / 0.5278 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.2993, allocations: 42.34 kB / 0.5279 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2993, allocations: 0 / 0.5279 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.2994, allocations: 18.94 kB / 0.5279 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2996, allocations: 34.89 kB / 0.5279 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.2999, allocations: 223.1 kB / 0.5281 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.3, allocations: 0.6994 MB / 0.5288 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.3001, allocations: 20.48 kB / 0.5288 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.3001, allocations: 15.97 kB / 0.5288 GB, free: 32.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3001, allocations: 0 / 0.5288 GB, free: 32.3 MB / 378.7 MB Notification: Performance of Templates: time 0.003262/0.3034, allocations: 1.44 MB / 0.5303 GB, free: 32.12 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches