Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.247/0.247, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.88 kB / 497.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3883, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003399/0.3917, allocations: 1.742 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3933, allocations: 0.8956 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.3934, allocations: 4 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.3937, allocations: 41.14 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.3939, allocations: 56.91 kB / 0.5516 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3942, allocations: 112.5 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3944, allocations: 102 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3945, allocations: 4.484 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.3946, allocations: 43.84 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.3947, allocations: 38.19 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3947, allocations: 4.344 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.3948, allocations: 46.17 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.3948, allocations: 24.02 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.3949, allocations: 26.94 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3951, allocations: 120 kB / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3951, allocations: 0 / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3951, allocations: 0 / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3951, allocations: 1.188 kB / 0.5521 GB, free: 10.69 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.0006429/0.3958, allocations: 340 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3958, allocations: 17.55 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.3959, allocations: 9.797 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.3961, allocations: 155.8 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.3962, allocations: 5.578 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.3962, allocations: 6.281 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3963, allocations: 54.7 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3964, allocations: 0 / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3964, allocations: 1.094 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3964, allocations: 3.984 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.3965, allocations: 22.92 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.3968, allocations: 261.6 kB / 0.5529 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.397, allocations: 48.53 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.3971, allocations: 24.59 kB / 0.553 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3971, allocations: 8.906 kB / 0.553 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.3973, allocations: 69.92 kB / 0.553 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3973, allocations: 0 / 0.553 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005744/0.3978, allocations: 181.1 kB / 0.5532 GB, free: 9.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3979, allocations: 53.69 kB / 0.5533 GB, free: 9.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.3981, allocations: 200.5 kB / 0.5535 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3982, allocations: 26.64 kB / 0.5535 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.3982, allocations: 109.2 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3983, allocations: 23.98 kB / 0.5536 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3983, allocations: 23.86 kB / 0.5536 GB, free: 9.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3985, allocations: 326.5 kB / 0.5539 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.3985, allocations: 23.17 kB / 0.554 GB, free: 8.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.3986, allocations: 31.25 kB / 0.554 GB, free: 8.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3987, allocations: 68.08 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3987, allocations: 0 / 0.5541 GB, free: 8.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001985/0.3989, allocations: 103.3 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3989, allocations: 5.125 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3989, allocations: 5.156 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.399, allocations: 1.156 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.399, allocations: 16.72 kB / 0.5542 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3991, allocations: 1.25 kB / 0.5542 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.3991, allocations: 18.23 kB / 0.5542 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3991, allocations: 2.438 kB / 0.5542 GB, free: 8.711 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 (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.0001103/0.3992, allocations: 123.2 kB / 0.5543 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3993, allocations: 17.67 kB / 0.5543 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.3995, allocations: 112.6 kB / 0.5544 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3995, allocations: 1.125 kB / 0.5544 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3995, allocations: 0 / 0.5544 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.3995, allocations: 9.109 kB / 0.5545 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.4, allocations: 370.1 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4, allocations: 0 / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.4001, allocations: 8.312 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4001, allocations: 0 / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4001, allocations: 6.188 kB / 0.5548 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4001, allocations: 1 kB / 0.5548 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4001, allocations: 4.125 kB / 0.5548 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.4004, allocations: 209.4 kB / 0.555 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.4005, allocations: 14.91 kB / 0.555 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.4005, allocations: 10.47 kB / 0.555 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.4006, allocations: 1.031 kB / 0.555 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.4006, allocations: 7.359 kB / 0.5551 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.4006, allocations: 3.438 kB / 0.5551 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.4008, allocations: 151.6 kB / 0.5552 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4008, allocations: 1.219 kB / 0.5552 GB, free: 7.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.4011, allocations: 27.31 kB / 0.5552 GB, free: 7.812 MB / 398.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.001713/0.4028, allocations: 454.3 kB / 0.5557 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.403, allocations: 55.17 kB / 0.5557 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.403, allocations: 5.281 kB / 0.5557 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.4031, allocations: 30.42 kB / 0.5557 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.4035, allocations: 28.56 kB / 0.5558 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.404, allocations: 240.6 kB / 0.556 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.4045, allocations: 0.7088 MB / 0.5567 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.4046, allocations: 22.34 kB / 0.5567 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.4046, allocations: 15 kB / 0.5567 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4046, allocations: 1.062 kB / 0.5567 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Templates: time 0.005634/0.4103, allocations: 1.763 MB / 0.5585 GB, free: 5.457 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.426914949901402]