Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001015/0.001015, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001013/0.001013, allocations: 168.7 kB / 25.61 MB, free: 8.582 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 0.8522/0.8522, allocations: 177.1 MB / 206 MB, free: 4.473 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.1341/0.1341, allocations: 34.25 MB / 296.8 MB, free: 13.91 MB / 282.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.725e-05, allocations: 5.969 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.005167/0.005184, allocations: 1.661 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000766/0.00595, allocations: 0.5336 MB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.618e-05/0.006016, allocations: 0 / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.006243, allocations: 43.7 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.006497, allocations: 87.55 kB / 381.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.006723, allocations: 99.62 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.006865, allocations: 87.75 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.006962, allocations: 19.98 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.007024, allocations: 39.89 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.0071, allocations: 27.91 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.007114, allocations: 4 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.007193, allocations: 47.92 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.007235, allocations: 27.84 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.007259, allocations: 19.92 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.007397, allocations: 95.66 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.007399, allocations: 0 / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007399, allocations: 0 / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.007403, allocations: 0 / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003331/0.01073, allocations: 440 kB / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.01076, allocations: 11.97 kB / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.0108, allocations: 12.89 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.01091, allocations: 143.4 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.01092, allocations: 8.375 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.01094, allocations: 8.359 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.626e-05/0.01102, allocations: 66.94 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.01103, allocations: 8.078 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.01104, allocations: 16.11 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01105, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.46e-05/0.01108, allocations: 23.91 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.01131, allocations: 272.3 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.01137, allocations: 54.98 kB / 383.1 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.01139, allocations: 19.62 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.0114, allocations: 4 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.01142, allocations: 37.38 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.01142, allocations: 4 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000513/0.01193, allocations: 204.6 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.01195, allocations: 55.34 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.01203, allocations: 208.7 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.01204, allocations: 25.7 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.01207, allocations: 158.7 kB / 383.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.0121, allocations: 39.64 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.01214, allocations: 35.36 kB / 383.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.01218, allocations: 0.5 MB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.0122, allocations: 11.98 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.01222, allocations: 15.98 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.01228, allocations: 47.78 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01228, allocations: 3.938 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001025/0.01238, allocations: 97.52 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.01239, allocations: 4 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.0124, allocations: 0 / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.01241, allocations: 4 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.01248, allocations: 23.98 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.01249, allocations: 4 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.01252, allocations: 7.938 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.01252, allocations: 4 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 4.555e-05/0.01257, allocations: 160.6 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.0126, allocations: 19.94 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.01274, allocations: 117.9 kB / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01275, allocations: 0 / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01275, allocations: 0 / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01275, allocations: 0 / 384.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.01303, allocations: 389.6 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01304, allocations: 0 / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.01309, allocations: 27.92 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01309, allocations: 3.938 kB / 385.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.0131, allocations: 8 kB / 385.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.0131, allocations: 3.938 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0131, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.01322, allocations: 247.6 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.01323, allocations: 7.953 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.01324, allocations: 8 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.0133, allocations: 11.95 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.01332, allocations: 11.92 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.01333, allocations: 4 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.01336, allocations: 147.2 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01336, allocations: 4 kB / 385.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003243/0.01661, allocations: 27.92 kB / 385.8 MB, free: 16.59 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009503/0.01756, allocations: 439.8 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01767, allocations: 59.58 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01767, allocations: 4 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.0177, allocations: 39.61 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01796, allocations: 34 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.01825, allocations: 232.3 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.014e-05/0.01829, allocations: 67.2 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.01833, allocations: 20.47 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.01839, allocations: 86.27 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01839, allocations: 0 / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003158/0.02155, allocations: 1.724 MB / 388.5 MB, free: 14.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.9176887939684093]