Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 81.86 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 172 kB / 24.82 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.2/1.2, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3061/0.3061, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.892e-05, allocations: 5.828 kB / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00241/0.002429, allocations: 1.758 MB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003778, allocations: 0.9936 MB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.003852, allocations: 7.875 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.004104, allocations: 39.78 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.004357, allocations: 99.47 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.004499, allocations: 75.66 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.005035, allocations: 111.6 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.00513, allocations: 11.97 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.459e-05/0.005224, allocations: 51.84 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.005305, allocations: 27.91 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.005324, allocations: 7.984 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.005405, allocations: 47.86 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.005459, allocations: 19.92 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.005497, allocations: 19.94 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.005672, allocations: 99.59 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.005674, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005675, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.00568, allocations: 0 / 381.9 MB, free: 14.94 MB / 362.7 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.0004705/0.00615, allocations: 451.8 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.006192, allocations: 8.031 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.006229, allocations: 16.84 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.006386, allocations: 161.8 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.006404, allocations: 384 / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.006422, allocations: 8.375 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.006531, allocations: 58.94 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.006543, allocations: 7.922 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.006556, allocations: 0 / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.006566, allocations: 4 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.006598, allocations: 4 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.006866, allocations: 264.4 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.006953, allocations: 51.09 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.006977, allocations: 15.69 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.006996, allocations: 8 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.87e-05/0.007094, allocations: 68.97 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.007096, allocations: 4 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003449/0.007441, allocations: 137.4 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.007474, allocations: 51.41 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.007607, allocations: 230.3 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.007623, allocations: 33.69 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.00769, allocations: 150.9 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.007718, allocations: 23.78 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.007757, allocations: 31.36 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.007905, allocations: 0.5001 MB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.007924, allocations: 7.984 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.007957, allocations: 35.34 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.874e-05/0.008006, allocations: 39.44 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.008008, allocations: 7.938 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.00811, allocations: 89.52 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.008123, allocations: 4 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.008129, allocations: 3.984 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.008143, allocations: 4.031 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.008202, allocations: 19.94 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008205, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.008232, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.008237, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 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 8.919e-05/0.008326, allocations: 164.6 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.008343, allocations: 19.84 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.008482, allocations: 99.06 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.008485, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.008487, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.008492, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.008753, allocations: 369.6 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008754, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.008779, allocations: 11.98 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.008782, allocations: 4 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.008788, allocations: 384 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.00879, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008791, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.008926, allocations: 259.4 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.008938, allocations: 11.94 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.008954, allocations: 8.031 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.008994, allocations: 11.92 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.00902, allocations: 7.938 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.00903, allocations: 3.984 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.009095, allocations: 168.1 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009095, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.009255, allocations: 23.94 kB / 385.5 MB, free: 11.04 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.002262/0.01152, allocations: 434.1 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01162, allocations: 51.59 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01162, allocations: 0 / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.01166, allocations: 31.61 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.01188, allocations: 49.14 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.01221, allocations: 214 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.01225, allocations: 67.34 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.425e-05/0.01229, allocations: 12.97 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.01236, allocations: 90.31 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.099e-06/0.01237, allocations: 4 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003666/0.01603, allocations: 2.036 MB / 388.5 MB, free: 8.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.492817673832178]