Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.0009648/0.0009648, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009953/0.0009953, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9336/0.9336, allocations: 177.1 MB / 205 MB, free: 5.617 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.2598/0.2598, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.74e-05, allocations: 8.562 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003275/0.003312, allocations: 1.762 MB / 379.9 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.005904, allocations: 1.734 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.006, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.006394, allocations: 35.77 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.006823, allocations: 111.3 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.007033, allocations: 75.67 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.007236, allocations: 115.6 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.007342, allocations: 7.984 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.007451, allocations: 51.89 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.007581, allocations: 35.84 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.007605, allocations: 12 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.007789, allocations: 103.8 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.00785, allocations: 19.91 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.007901, allocations: 23.92 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.008205, allocations: 159.5 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.008208, allocations: 3.938 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.00821, allocations: 0 / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.008216, allocations: 0 / 382.4 MB, free: 14.3 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.0005712/0.008787, allocations: 447.8 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.008833, allocations: 12.02 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.008897, allocations: 16.89 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.009165, allocations: 156.2 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.00919, allocations: 384 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.009225, allocations: 4.375 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.009445, allocations: 111.3 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.009458, allocations: 3.953 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.009472, allocations: 7.938 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.009482, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.951e-05/0.009532, allocations: 11.98 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.009934, allocations: 279.8 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.01008, allocations: 67.09 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.01012, allocations: 15.67 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.01014, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.01027, allocations: 65.05 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.01027, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004955/0.01076, allocations: 157.3 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.01081, allocations: 81.11 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.011, allocations: 220.8 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.01102, allocations: 33.7 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.01109, allocations: 138.9 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.01112, allocations: 31.77 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.01117, allocations: 31.38 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.01132, allocations: 0.4961 MB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.01135, allocations: 11.98 kB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.01142, allocations: 72.69 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.01151, allocations: 43.45 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01152, allocations: 0 / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.01171, allocations: 101.5 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.01173, allocations: 11.98 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01174, allocations: 0 / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.01176, allocations: 0 / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01187, allocations: 12 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.01187, allocations: 0 / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.01192, allocations: 4 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01193, allocations: 7.984 kB / 385 MB, free: 11.44 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 0.0001092/0.01204, allocations: 171.7 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.01207, allocations: 7.953 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.01229, allocations: 110.4 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01229, allocations: 0 / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.0123, allocations: 0 / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.0123, allocations: 0 / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.0127, allocations: 392.9 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0127, allocations: 3.938 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.01274, allocations: 11.98 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.01275, allocations: 4 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01276, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01276, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01276, allocations: 4.031 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.01297, allocations: 255.4 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.013, allocations: 7.953 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.01302, allocations: 12.36 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.0131, allocations: 0 / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.01314, allocations: 11.92 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.01316, allocations: 8 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.01327, allocations: 161.6 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01327, allocations: 0 / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.01361, allocations: 51.86 kB / 386.2 MB, free: 10.16 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.001614/0.01522, allocations: 0.5398 MB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.01539, allocations: 59.59 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01539, allocations: 3.938 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.01545, allocations: 27.67 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.01583, allocations: 35.91 kB / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.01633, allocations: 205.8 kB / 387 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.01638, allocations: 67.34 kB / 387.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.246e-05/0.01645, allocations: 25.39 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.0165, allocations: 20.48 kB / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0165, allocations: 0 / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005259/0.02176, allocations: 2.531 MB / 389.7 MB, free: 6.816 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.3045817026868463]