Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001203/0.001203, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001222/0.001222, allocations: 165.8 kB / 24.99 MB, free: 8.797 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2619/0.2619, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.751e-05, allocations: 6.312 kB / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002104/0.002121, allocations: 1.762 MB / 379.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003314, allocations: 1.001 MB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.003388, allocations: 0 / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.003667, allocations: 47.69 kB / 380.9 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.003933, allocations: 95.62 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.004085, allocations: 83.59 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.004237, allocations: 107.6 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.004328, allocations: 15.97 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.004404, allocations: 51.84 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.004469, allocations: 19.92 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.004491, allocations: 4 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.004569, allocations: 47.91 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.00462, allocations: 23.86 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.004658, allocations: 19.92 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.004824, allocations: 103.6 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004826, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004827, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.004831, allocations: 0 / 381.5 MB, free: 15.5 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.0004432/0.005274, allocations: 455.8 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.005309, allocations: 8.031 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.005358, allocations: 16.84 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.005689, allocations: 157.1 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.005706, allocations: 384 / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.005723, allocations: 4.375 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.005836, allocations: 62.88 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005846, allocations: 3.938 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.005856, allocations: 4 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005864, allocations: 0 / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.005899, allocations: 19.98 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.006203, allocations: 291.8 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/0.006302, allocations: 55.11 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.006332, allocations: 19.61 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.006345, allocations: 4 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.532e-05/0.006441, allocations: 65.05 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.006442, allocations: 0 / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003728/0.006815, allocations: 153.4 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.006844, allocations: 55.41 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.006969, allocations: 234.3 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.006981, allocations: 29.7 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.007033, allocations: 154.9 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.007058, allocations: 23.8 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.00709, allocations: 31.36 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.007245, allocations: 0.4962 MB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.007267, allocations: 8 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.0073, allocations: 39.3 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.007357, allocations: 55.3 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.007358, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.825e-05/0.007456, allocations: 101.5 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.007469, allocations: 6.188 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007474, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.00749, allocations: 4 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.007559, allocations: 15.98 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.007564, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.007591, allocations: 8 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007597, allocations: 0 / 384 MB, free: 12.74 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 6.748e-05/0.007664, allocations: 172.5 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.007679, allocations: 11.95 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.00781, allocations: 107.1 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007811, allocations: 0 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.007815, allocations: 0 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.007819, allocations: 0 / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.008074, allocations: 396.9 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.008076, allocations: 3.984 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.008101, allocations: 12.38 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008103, allocations: 0 / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.008111, allocations: 8.031 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.008114, allocations: 8 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008115, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.00824, allocations: 255.4 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.008252, allocations: 15.89 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.008267, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.008305, allocations: 8 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.008338, allocations: 7.984 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.008349, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.819e-05/0.008417, allocations: 172.1 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008417, allocations: 4 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.008582, allocations: 27.92 kB / 385.2 MB, free: 11.47 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.001025/0.009606, allocations: 439.4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.009711, allocations: 51.66 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009712, allocations: 3.938 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.009749, allocations: 31.67 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.009967, allocations: 31.97 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.01027, allocations: 222 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.01031, allocations: 71.33 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.01034, allocations: 8.984 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.01037, allocations: 20.48 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01038, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003259/0.01363, allocations: 1.87 MB / 387.9 MB, free: 8.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.1757104240823537]