Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001509/0.001509, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001644/0.001644, allocations: 210.1 kB / 25.13 MB, free: 3.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.431/1.431, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.224/0.224, allocations: 46.93 MB / 362 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 79.88 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3037, allocations: 66.08 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003017/0.3067, allocations: 1.643 MB / 0.564 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3078, allocations: 0.5616 MB / 0.5645 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.3078, allocations: 4 kB / 0.5645 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.3081, allocations: 87.73 kB / 0.5646 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.3084, allocations: 111.6 kB / 0.5647 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3087, allocations: 123.6 kB / 0.5648 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3089, allocations: 91.69 kB / 0.5649 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.309, allocations: 15.64 kB / 0.5649 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.3091, allocations: 39.89 kB / 0.565 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3092, allocations: 59.81 kB / 0.565 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3092, allocations: 4 kB / 0.565 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.24e-05/0.3093, allocations: 43.92 kB / 0.5651 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.3093, allocations: 19.92 kB / 0.5651 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.3094, allocations: 43.67 kB / 0.5651 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.3096, allocations: 110.4 kB / 0.5652 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3096, allocations: 0 / 0.5652 GB, free: 1.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3096, allocations: 0 / 0.5652 GB, free: 1.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3096, allocations: 0 / 0.5652 GB, free: 1.316 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005277/0.3101, allocations: 353.5 kB / 0.5656 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3102, allocations: 8.031 kB / 0.5656 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.3102, allocations: 16.84 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3104, allocations: 138.9 kB / 0.5657 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3104, allocations: 8.312 kB / 0.5657 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3104, allocations: 12.33 kB / 0.5657 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3106, allocations: 50.23 kB / 0.5658 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3106, allocations: 192 / 0.5658 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3106, allocations: 11.92 kB / 0.5658 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3106, allocations: 4 kB / 0.5658 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.627e-05/0.3107, allocations: 23.98 kB / 0.5658 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.3111, allocations: 279.8 kB / 0.5661 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3113, allocations: 46.56 kB / 0.5661 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.3113, allocations: 20.94 kB / 0.5662 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3113, allocations: 0 / 0.5662 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3114, allocations: 30.56 kB / 0.5662 GB, free: 212 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3114, allocations: 0 / 0.5662 GB, free: 212 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009229/0.3123, allocations: 253.8 kB / 0.5664 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3123, allocations: 51.41 kB / 0.5665 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.3126, allocations: 234.7 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3126, allocations: 29.7 kB / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.3127, allocations: 108.1 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.3127, allocations: 35.8 kB / 0.5669 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.3127, allocations: 21.72 kB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3129, allocations: 326.6 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.313, allocations: 31.97 kB / 0.5672 GB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.313, allocations: 27.98 kB / 0.5673 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3132, allocations: 72.81 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3132, allocations: 0 / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002425/0.3134, allocations: 117.8 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3135, allocations: 14.28 kB / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3135, allocations: 0 / 0.5674 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3135, allocations: 3.938 kB / 0.5675 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3136, allocations: 19.98 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3136, allocations: 0 / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3136, allocations: 7.984 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3136, allocations: 7.938 kB / 0.5675 GB, free: 14.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001067/0.3137, allocations: 129.8 kB / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3138, allocations: 15.94 kB / 0.5676 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.3141, allocations: 138.9 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3141, allocations: 0 / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3141, allocations: 0 / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3141, allocations: 7.922 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.3147, allocations: 394.3 kB / 0.5681 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3147, allocations: 4 kB / 0.5681 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-05/0.3147, allocations: 15.98 kB / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3147, allocations: 0 / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3147, allocations: 11.94 kB / 0.5682 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3147, allocations: 3.984 kB / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3147, allocations: 0 / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.315, allocations: 216.2 kB / 0.5684 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.315, allocations: 7.953 kB / 0.5684 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3151, allocations: 7.938 kB / 0.5684 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.3151, allocations: 7.984 kB / 0.5684 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3152, allocations: 8 kB / 0.5684 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3152, allocations: 11.98 kB / 0.5684 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.3153, allocations: 172.3 kB / 0.5686 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3153, allocations: 0 / 0.5686 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.3156, allocations: 16 kB / 0.5686 GB, free: 13.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00167/0.3173, allocations: 457.9 kB / 0.569 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3175, allocations: 75.88 kB / 0.5691 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3175, allocations: 4 kB / 0.5691 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.3176, allocations: 35.92 kB / 0.5691 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3179, allocations: 20.61 kB / 0.5692 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.3185, allocations: 286.9 kB / 0.5694 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3188, allocations: 0.7185 MB / 0.5701 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.693e-05/0.3189, allocations: 16.66 kB / 0.5702 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.3189, allocations: 15.44 kB / 0.5702 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3189, allocations: 0 / 0.5702 GB, free: 12.05 MB / 414.1 MB Notification: Performance of Templates: time 0.004365/0.3233, allocations: 1.463 MB / 0.5716 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test5.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: 4.787328151986003]