Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001759/0.001759, allocations: 211.1 kB / 22.99 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 230.2 MB / 256.2 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 46.9 MB / 359.4 MB, free: 4.949 MB / 286.1 MB " [Timeout remaining time 179] 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002589/0.002589, allocations: 88.14 kB / 0.4947 GB, free: 8.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3979, allocations: 65.98 MB / 0.5592 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00391/0.4019, allocations: 1.748 MB / 0.5609 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.4041, allocations: 1.045 MB / 0.5619 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.4042, allocations: 3.938 kB / 0.5619 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.4047, allocations: 79.7 kB / 0.562 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.4051, allocations: 123.5 kB / 0.5621 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.4054, allocations: 75.67 kB / 0.5622 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.4057, allocations: 115.7 kB / 0.5623 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4058, allocations: 7.984 kB / 0.5623 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.406, allocations: 51.77 kB / 0.5623 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.4062, allocations: 75.67 kB / 0.5624 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.4062, allocations: 4 kB / 0.5624 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.4063, allocations: 43.98 kB / 0.5624 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.4064, allocations: 27.91 kB / 0.5625 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.4064, allocations: 35.69 kB / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.4067, allocations: 125.9 kB / 0.5626 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4068, allocations: 0 / 0.5626 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4068, allocations: 3.938 kB / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.4068, allocations: 0 / 0.5626 GB, free: 1.469 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009125/0.4077, allocations: 434.5 kB / 0.563 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4077, allocations: 12.03 kB / 0.5631 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.4078, allocations: 12.84 kB / 0.5631 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.4082, allocations: 224.1 kB / 0.5633 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4082, allocations: 4.375 kB / 0.5633 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.4082, allocations: 384 / 0.5633 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4084, allocations: 57.98 kB / 0.5633 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4084, allocations: 4 kB / 0.5633 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4084, allocations: 0 / 0.5633 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4084, allocations: 0 / 0.5633 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.4085, allocations: 23.92 kB / 0.5634 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.4092, allocations: 292.9 kB / 0.5636 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.4094, allocations: 50.69 kB / 0.5637 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.4095, allocations: 20.84 kB / 0.5637 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.4095, allocations: 0 / 0.5637 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.4097, allocations: 75.33 kB / 0.5638 GB, free: 120 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4097, allocations: 0 / 0.5638 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006508/0.4103, allocations: 181.6 kB / 0.564 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.4104, allocations: 59.41 kB / 0.564 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.4107, allocations: 224.2 kB / 0.5642 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4108, allocations: 29.7 kB / 0.5643 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.4108, allocations: 100.1 kB / 0.5644 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.4109, allocations: 31.77 kB / 0.5644 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.4109, allocations: 25.72 kB / 0.5644 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4112, allocations: 334.8 kB / 0.5647 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.4112, allocations: 16 kB / 0.5647 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.4113, allocations: 33.7 kB / 0.5648 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.4115, allocations: 69.58 kB / 0.5648 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4115, allocations: 0 / 0.5648 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.4117, allocations: 101.7 kB / 0.5649 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4117, allocations: 8 kB / 0.5649 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4117, allocations: 3.984 kB / 0.565 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4118, allocations: 0 / 0.565 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4119, allocations: 23.92 kB / 0.565 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4119, allocations: 4.188 kB / 0.565 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.4119, allocations: 0 / 0.565 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4119, allocations: 7.938 kB / 0.565 GB, free: 14.81 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0002719/0.4122, allocations: 137.8 kB / 0.5651 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.4122, allocations: 11.91 kB / 0.5651 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.4125, allocations: 119 kB / 0.5652 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4125, allocations: 0 / 0.5652 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4125, allocations: 0 / 0.5652 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4125, allocations: 3.984 kB / 0.5652 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.4133, allocations: 399.3 kB / 0.5656 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4133, allocations: 0 / 0.5656 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.4133, allocations: 12.03 kB / 0.5656 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4133, allocations: 0 / 0.5656 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4134, allocations: 3.984 kB / 0.5656 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4134, allocations: 7.938 kB / 0.5656 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4134, allocations: 0 / 0.5656 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.4136, allocations: 208.2 kB / 0.5658 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.4137, allocations: 85.06 kB / 0.5659 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.4137, allocations: 4 kB / 0.5659 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.4138, allocations: 15.92 kB / 0.5659 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.4139, allocations: 4 kB / 0.566 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.4139, allocations: 4 kB / 0.566 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.4141, allocations: 165.2 kB / 0.5661 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4141, allocations: 0 / 0.5661 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.4146, allocations: 31.89 kB / 0.5661 GB, free: 13.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001968/0.4165, allocations: 460.6 kB / 0.5666 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.4168, allocations: 55.91 kB / 0.5666 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4168, allocations: 4 kB / 0.5666 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.4169, allocations: 27.92 kB / 0.5667 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.4174, allocations: 38.61 kB / 0.5667 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.4182, allocations: 259.2 kB / 0.567 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.4194, allocations: 0.7119 MB / 0.5676 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.575e-05/0.4194, allocations: 20.88 kB / 0.5677 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.4195, allocations: 15.44 kB / 0.5677 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4195, allocations: 0 / 0.5677 GB, free: 12.03 MB / 414.1 MB Notification: Performance of Templates: time 0.006598/0.4261, allocations: 1.774 MB / 0.5694 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.378348748199642]