Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 203.6 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.12 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 83.86 kB / 482.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3546, allocations: 62.45 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003089/0.3577, allocations: 1.692 MB / 0.5335 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3594, allocations: 1 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.3595, allocations: 1.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.3598, allocations: 68.48 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.3601, allocations: 104.6 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.3604, allocations: 78.91 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3606, allocations: 102.3 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.3607, allocations: 4.359 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3608, allocations: 51.02 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3609, allocations: 52.38 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3609, allocations: 2.75 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.361, allocations: 32.62 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.361, allocations: 22.73 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.3611, allocations: 35.95 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3613, allocations: 104.8 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3613, allocations: 1.312 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3613, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3613, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 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.0006404/0.3619, allocations: 414.8 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.362, allocations: 9.125 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.362, allocations: 17.84 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.3623, allocations: 216.8 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3624, allocations: 1.812 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3624, allocations: 9.375 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3625, allocations: 46.83 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3625, allocations: 1.062 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3625, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3625, allocations: 1.031 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.3626, allocations: 16.55 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.3629, allocations: 186.3 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.363, allocations: 49.75 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.3631, allocations: 28.52 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3631, allocations: 1.25 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.3633, allocations: 68.2 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3633, allocations: 0 / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002946/0.3636, allocations: 91.28 kB / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3636, allocations: 56.44 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3639, allocations: 196.1 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3639, allocations: 26.83 kB / 0.5364 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.364, allocations: 101.4 kB / 0.5365 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.364, allocations: 18.09 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3641, allocations: 26.2 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3642, allocations: 322.2 kB / 0.5369 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.3643, allocations: 15.97 kB / 0.5369 GB, free: 9.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.3643, allocations: 27.95 kB / 0.5369 GB, free: 9.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.3644, allocations: 42.98 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3644, allocations: 1.219 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.3646, allocations: 94.38 kB / 0.5371 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3646, allocations: 5.719 kB / 0.5371 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3646, allocations: 1.125 kB / 0.5371 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3646, allocations: 1.219 kB / 0.5371 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.3647, allocations: 19.7 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3647, allocations: 4.969 kB / 0.5371 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.3648, allocations: 7.031 kB / 0.5371 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3648, allocations: 2 kB / 0.5371 GB, free: 9.062 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001175/0.3649, allocations: 133.5 kB / 0.5372 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3649, allocations: 8.484 kB / 0.5372 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.365, allocations: 14.22 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.365, allocations: 0 / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.365, allocations: 1.094 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.365, allocations: 0 / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3652, allocations: 196.9 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3652, allocations: 1.406 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.3652, allocations: 2.469 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3652, allocations: 1.156 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3652, allocations: 1.188 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3652, allocations: 4 kB / 0.5374 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3652, allocations: 1.562 kB / 0.5374 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.3654, allocations: 117 kB / 0.5376 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.3655, allocations: 83.31 kB / 0.5376 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3655, allocations: 5.016 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.3655, allocations: 2.125 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3656, allocations: 6.156 kB / 0.5377 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.3656, allocations: 6.375 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.3657, allocations: 152.1 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3657, allocations: 0 / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.366, allocations: 17.7 kB / 0.5378 GB, free: 8.363 MB / 398.1 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.001504/0.3675, allocations: 398.4 kB / 0.5382 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3676, allocations: 42.58 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3676, allocations: 0 / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.3677, allocations: 19.47 kB / 0.5383 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.368, allocations: 35.59 kB / 0.5383 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.3685, allocations: 201.7 kB / 0.5385 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.3689, allocations: 0.7003 MB / 0.5392 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.369, allocations: 24.12 kB / 0.5392 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.369, allocations: 18.19 kB / 0.5392 GB, free: 7.211 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.369, allocations: 0 / 0.5392 GB, free: 7.211 MB / 398.1 MB Notification: Performance of Templates: time 0.00487/0.3739, allocations: 1.506 MB / 0.5407 GB, free: 6.449 MB / 398.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches