Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001862/0.001862, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002417/0.002417, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.202/0.202, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.393e-05, allocations: 5.516 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002968/0.002992, allocations: 1.716 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.004715, allocations: 0.9704 MB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.004774, allocations: 0 / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.005036, allocations: 35.78 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.005369, allocations: 99.47 kB / 443 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.005597, allocations: 83.53 kB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.005795, allocations: 103.7 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005904, allocations: 7.984 kB / 443.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.006022, allocations: 55.78 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.00611, allocations: 35.89 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.006134, allocations: 4 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.006241, allocations: 39.98 kB / 443.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.006301, allocations: 15.92 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.006354, allocations: 23.86 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.006596, allocations: 119.6 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.0066, allocations: 3.938 kB / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006601, allocations: 0 / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.006611, allocations: 0 / 443.5 MB, free: 4.75 MB / 366.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.0005721/0.007184, allocations: 345.5 kB / 443.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.007219, allocations: 8.031 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.007269, allocations: 16.89 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.007532, allocations: 146.9 kB / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.007543, allocations: 4.375 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.007566, allocations: 4.359 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.007721, allocations: 58.23 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.007733, allocations: 3.938 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.007743, allocations: 0 / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.007746, allocations: 0 / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.007829, allocations: 27.91 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.008182, allocations: 236.5 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.008363, allocations: 58.67 kB / 444.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.008424, allocations: 24.8 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.008434, allocations: 0 / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.008601, allocations: 75.31 kB / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.008602, allocations: 0 / 444.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005727/0.009175, allocations: 173.3 kB / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.009213, allocations: 55.41 kB / 444.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.009425, allocations: 187.3 kB / 444.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.009446, allocations: 33.7 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.009529, allocations: 100.1 kB / 445 MB, free: 3.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.009566, allocations: 27.78 kB / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.009607, allocations: 21.72 kB / 445.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.009756, allocations: 322.8 kB / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.009819, allocations: 23.98 kB / 445.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.009899, allocations: 37.7 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.01003, allocations: 73.62 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01003, allocations: 4 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.01023, allocations: 101.6 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01024, allocations: 8 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01025, allocations: 0 / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01026, allocations: 0 / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01037, allocations: 16.12 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01038, allocations: 4.375 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.01042, allocations: 11.92 kB / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.01043, allocations: 4 kB / 445.6 MB, free: 2.395 MB / 366.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.000103/0.01054, allocations: 121.8 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.01056, allocations: 15.98 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.01083, allocations: 131 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01084, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01084, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01084, allocations: 0 / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.01131, allocations: 350.9 kB / 446.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01131, allocations: 0 / 446.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.01136, allocations: 15.98 kB / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01137, allocations: 0 / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01137, allocations: 7.969 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01138, allocations: 4 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01138, allocations: 3.938 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.01165, allocations: 204.3 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01167, allocations: 19.83 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.01169, allocations: 8 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.01176, allocations: 0 / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.0118, allocations: 7.984 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.01181, allocations: 4 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.01194, allocations: 147.9 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01194, allocations: 4 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.01221, allocations: 27.94 kB / 446.7 MB, free: 1.266 MB / 366.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 (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.001772/0.01398, allocations: 490.4 kB / 447.2 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.01418, allocations: 71.89 kB / 447.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01418, allocations: 0 / 447.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.01426, allocations: 35.86 kB / 447.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.01461, allocations: 27.03 kB / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.0151, allocations: 222.5 kB / 447.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.01519, allocations: 88.31 kB / 447.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.93e-05/0.01524, allocations: 21.08 kB / 447.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.01528, allocations: 20.5 kB / 447.7 MB, free: 484 kB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01528, allocations: 0 / 447.7 MB, free: 484 kB / 366.1 MB Notification: Performance of Templates: time 0.1572/0.1725, allocations: 1.844 MB / 449.5 MB, free: 21.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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: 4.60569242015481]