Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 87.86 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3363, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002878/0.3392, allocations: 1.693 MB / 0.5334 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3408, allocations: 1.001 MB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.3408, allocations: 4 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.3411, allocations: 64.48 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.3414, allocations: 104.6 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.3416, allocations: 74.92 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3418, allocations: 106.3 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.3418, allocations: 5.734 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.342, allocations: 47.03 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.3421, allocations: 48.45 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3421, allocations: 2.75 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.3422, allocations: 28.61 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.3423, allocations: 26.72 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.3423, allocations: 39.97 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3425, allocations: 108.6 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3425, allocations: 0 / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3425, allocations: 1.375 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3425, allocations: 0 / 0.535 GB, free: 11.11 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.0004842/0.343, allocations: 408.2 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3431, allocations: 13.62 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.3432, allocations: 14.28 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3434, allocations: 211.8 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3434, allocations: 1.75 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3434, allocations: 9.5 kB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3436, allocations: 47.11 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3436, allocations: 1.344 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.3436, allocations: 0 / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3436, allocations: 1.344 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.3437, allocations: 19.83 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.3439, allocations: 178.7 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.344, allocations: 50.62 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3441, allocations: 25.47 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3441, allocations: 1.125 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.3443, allocations: 72.45 kB / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.3443, allocations: 0 / 0.536 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003114/0.3446, allocations: 96.36 kB / 0.5361 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3446, allocations: 51.41 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3448, allocations: 192.2 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3449, allocations: 31.14 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.3449, allocations: 105.1 kB / 0.5365 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3449, allocations: 24.94 kB / 0.5365 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.345, allocations: 23.48 kB / 0.5365 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3451, allocations: 322.1 kB / 0.5368 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.3452, allocations: 11.69 kB / 0.5368 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.3452, allocations: 27.55 kB / 0.5368 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3453, allocations: 51.8 kB / 0.5369 GB, free: 9.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3453, allocations: 3.938 kB / 0.5369 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001503/0.3455, allocations: 79.31 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3455, allocations: 5.594 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3455, allocations: 1.094 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3455, allocations: 1.062 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3457, allocations: 17.02 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3457, allocations: 3.938 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.3457, allocations: 6.344 kB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.3457, allocations: 2.219 kB / 0.537 GB, free: 9.137 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 8.628e-05/0.3458, allocations: 130.4 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.3459, allocations: 13.34 kB / 0.5371 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3459, allocations: 13.41 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3459, allocations: 1.188 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3459, allocations: 0 / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3459, allocations: 1.219 kB / 0.5372 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.3461, allocations: 188.2 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3461, allocations: 5.156 kB / 0.5373 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.3461, allocations: 3.312 kB / 0.5373 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3461, allocations: 4 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3461, allocations: 1.188 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3461, allocations: 1.156 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3461, allocations: 0 / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.3463, allocations: 117.4 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.3464, allocations: 84.39 kB / 0.5375 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3464, allocations: 5.141 kB / 0.5376 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.3464, allocations: 5.25 kB / 0.5376 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.3465, allocations: 2.406 kB / 0.5376 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3465, allocations: 10.31 kB / 0.5376 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3466, allocations: 147.9 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3466, allocations: 0 / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.3469, allocations: 25.62 kB / 0.5377 GB, free: 8.43 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.0008908/0.3478, allocations: 405.4 kB / 0.5381 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.348, allocations: 48.39 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.348, allocations: 0 / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.3481, allocations: 16.91 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3483, allocations: 34.88 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.3488, allocations: 215 kB / 0.5384 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.349, allocations: 0.6997 MB / 0.5391 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.3491, allocations: 22.12 kB / 0.5391 GB, free: 7.266 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3491, allocations: 0 / 0.5391 GB, free: 7.266 MB / 398.1 MB Notification: Performance of Templates: time 0.00347/0.3525, allocations: 1.747 MB / 0.5408 GB, free: 6.355 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches