Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001573/0.001573, allocations: 78.66 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.001474/0.001474, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2646/0.2646, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.659e-05, allocations: 6.25 kB / 376.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00375/0.003777, allocations: 1.943 MB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.005569, allocations: 1.032 MB / 379.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.005694, allocations: 0 / 379.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.00602, allocations: 47.64 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.006417, allocations: 107.4 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.006746, allocations: 99.58 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.00702, allocations: 147.5 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.007144, allocations: 17.8 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.007304, allocations: 79.69 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.007414, allocations: 39.89 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.007437, allocations: 8 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.007557, allocations: 47.91 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.007624, allocations: 27.86 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.007682, allocations: 39.84 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.007967, allocations: 131.4 kB / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.007971, allocations: 0 / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007973, allocations: 0 / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.007976, allocations: 0 / 380.3 MB, free: 0.5195 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006422/0.008619, allocations: 0.4936 MB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.008666, allocations: 12.03 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.008725, allocations: 24.8 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.008913, allocations: 177 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.008929, allocations: 8.375 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.00895, allocations: 8.375 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.009121, allocations: 135.7 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.009129, allocations: 3.938 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.00914, allocations: 7.984 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.009146, allocations: 4 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.009186, allocations: 23.92 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.009605, allocations: 0.5565 MB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.01087, allocations: 67.16 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.0109, allocations: 19.67 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.01092, allocations: 4 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.01106, allocations: 110.7 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.01106, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000228/0.01129, allocations: 101.5 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.01132, allocations: 55.34 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.0115, allocations: 243 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.01152, allocations: 29.7 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.0116, allocations: 170.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.01162, allocations: 35.72 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.01167, allocations: 31.38 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.0118, allocations: 0.5039 MB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.01182, allocations: 8 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.01186, allocations: 58.41 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.01194, allocations: 86.28 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01194, allocations: 4 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001246/0.01206, allocations: 105.5 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01208, allocations: 4 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01209, allocations: 4 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.0121, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.01217, allocations: 24 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01217, allocations: 3.984 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.01221, allocations: 11.88 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.01222, allocations: 8.125 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.026e-05/0.01231, allocations: 164.5 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.01233, allocations: 15.91 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.01247, allocations: 103.1 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01248, allocations: 4 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01248, allocations: 0 / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01249, allocations: 3.984 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.0126, allocations: 129.1 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.0126, allocations: 4 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.01265, allocations: 15.98 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01265, allocations: 4 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01266, allocations: 4 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01266, allocations: 0 / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01267, allocations: 0 / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01283, allocations: 156.7 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01285, allocations: 15.84 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.01286, allocations: 7.875 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.01289, allocations: 7.984 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.01292, allocations: 11.98 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01293, allocations: 0 / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.01302, allocations: 171.2 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01302, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.01319, allocations: 28 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007873/0.01397, allocations: 391.8 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.01407, allocations: 55.59 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01408, allocations: 3.938 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.01411, allocations: 27.67 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.01431, allocations: 46.3 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.01471, allocations: 250 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.01475, allocations: 76.02 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.0148, allocations: 21.48 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.01488, allocations: 94.19 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01488, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003722/0.0186, allocations: 2.247 MB / 387.5 MB, free: 9.152 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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: 2.968437220901251]