Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 109 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.001174/0.001174, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 83.88 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003009/0.3444, allocations: 1.694 MB / 0.5334 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3459, allocations: 0.9968 MB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3461, allocations: 3.938 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.3464, allocations: 55 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.3467, allocations: 97.84 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3469, allocations: 78.91 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3471, allocations: 94.2 kB / 0.5347 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.3472, allocations: 8.359 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.3473, allocations: 44.25 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.3473, allocations: 29.16 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3474, allocations: 3.406 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.243e-05/0.3475, allocations: 33.58 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.3475, allocations: 33.8 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.3476, allocations: 41.7 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3478, allocations: 126.7 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3478, allocations: 1.406 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3479, allocations: 4 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3479, 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.0005476/0.3484, allocations: 427.3 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3485, allocations: 13.84 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3485, allocations: 10.72 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3488, allocations: 223.9 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3489, allocations: 1.5 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.3489, allocations: 10.22 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.349, allocations: 50.45 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.349, allocations: 1 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3491, allocations: 0 / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3491, allocations: 1.094 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/0.3491, allocations: 23.66 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.3493, allocations: 196.7 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.3496, allocations: 54.09 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.3496, allocations: 25.72 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3496, allocations: 5.125 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.3498, allocations: 59.55 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.3498, allocations: 1.219 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002858/0.3501, allocations: 96.61 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3501, allocations: 60.47 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.3504, allocations: 270.9 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3504, allocations: 26.95 kB / 0.5365 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.3505, allocations: 114.4 kB / 0.5366 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3505, allocations: 14.36 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.3506, allocations: 18.72 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3507, allocations: 328.4 kB / 0.5369 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.3508, allocations: 16.23 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.3508, allocations: 31.33 kB / 0.537 GB, free: 9.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.351, allocations: 39.59 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.351, allocations: 0 / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001596/0.3511, allocations: 93.05 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3512, allocations: 5.094 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3512, allocations: 5.188 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3512, allocations: 0 / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.3513, allocations: 13.06 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3513, allocations: 0.9688 kB / 0.5371 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.3513, allocations: 18.36 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3514, allocations: 2.5 kB / 0.5371 GB, free: 9.055 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.0001155/0.3515, allocations: 132.4 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3515, allocations: 10.66 kB / 0.5373 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.3516, allocations: 20.81 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3516, allocations: 0 / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3516, allocations: 1.344 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3516, allocations: 7.984 kB / 0.5373 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.3518, allocations: 203.6 kB / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3518, allocations: 0 / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.3518, allocations: 2.656 kB / 0.5375 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3518, allocations: 5.25 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3519, allocations: 1.312 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3519, allocations: 0 / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3519, allocations: 0 / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.3521, allocations: 123 kB / 0.5376 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3521, allocations: 88.67 kB / 0.5377 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3521, allocations: 1.5 kB / 0.5377 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.3522, allocations: 9.453 kB / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.3522, allocations: 2.531 kB / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3522, allocations: 2.281 kB / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.3524, allocations: 202.2 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3524, allocations: 0 / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.3527, allocations: 22.25 kB / 0.5379 GB, free: 8.328 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.0009091/0.3536, allocations: 404.3 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3538, allocations: 44.33 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3538, allocations: 0 / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.3539, allocations: 19.77 kB / 0.5384 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3541, allocations: 26.89 kB / 0.5384 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.3546, allocations: 299.1 kB / 0.5387 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.355, allocations: 0.7144 MB / 0.5394 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.355, allocations: 17.92 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.355, allocations: 1.094 kB / 0.5394 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Templates: time 0.003904/0.3589, allocations: 1.896 MB / 0.5413 GB, free: 6.129 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches