Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.0009654/0.0009654, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001188/0.001188, allocations: 162.6 kB / 24.99 MB, free: 9.273 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2945/0.2945, allocations: 32.81 MB / 294.6 MB, free: 1.184 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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.138e-05, allocations: 6.25 kB / 376 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.006003/0.006035, allocations: 1.641 MB / 377.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004795/0.01083, allocations: 1.274 MB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.01091, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.01117, allocations: 23.78 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.0116, allocations: 87.5 kB / 379 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.01192, allocations: 91.64 kB / 379.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.01211, allocations: 71.81 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.01223, allocations: 12 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.0123, allocations: 31.91 kB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.01241, allocations: 23.91 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.01243, allocations: 4 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.01261, allocations: 95.81 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.01267, allocations: 15.92 kB / 379.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.0127, allocations: 11.94 kB / 379.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.01296, allocations: 135.5 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01296, allocations: 0 / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01297, allocations: 0 / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01297, allocations: 0 / 379.5 MB, free: 1.402 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003518/0.01649, allocations: 431.9 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.01654, allocations: 12.03 kB / 380 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.0166, allocations: 8.891 kB / 380 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.01679, allocations: 132.5 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.0168, allocations: 4.375 kB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.01682, allocations: 384 / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.01699, allocations: 100 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.017, allocations: 192 / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.01702, allocations: 8.062 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.01702, allocations: 0 / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.01706, allocations: 15.98 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.01743, allocations: 283.7 kB / 380.5 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.01762, allocations: 43.05 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.01765, allocations: 23.7 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.01767, allocations: 3.938 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.01769, allocations: 33.39 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.0177, allocations: 0 / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004347/0.01813, allocations: 97.47 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.0182, allocations: 81.11 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.01863, allocations: 203.8 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.01864, allocations: 25.7 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.0187, allocations: 138.9 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.01872, allocations: 27.72 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.01876, allocations: 23.38 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.0189, allocations: 0.4923 MB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.01893, allocations: 4.062 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.543e-05/0.01897, allocations: 49.08 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.02204, allocations: 31.67 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02205, allocations: 0 / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001474/0.02219, allocations: 57.58 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.02221, allocations: 12.02 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.02222, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.02224, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.02231, allocations: 8 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.02232, allocations: 0 / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.02235, allocations: 7.953 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.02236, allocations: 3.984 kB / 381.8 MB, free: 14.84 MB / 362.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 (5): * Single equations (assignments): 5 * 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.313e-05/0.02245, allocations: 160.6 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.02249, allocations: 11.89 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.02265, allocations: 74.08 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.02265, allocations: 4 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.02266, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.02266, allocations: 0 / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.023, allocations: 317.7 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.023, allocations: 4 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.02305, allocations: 15.94 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.02306, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.02307, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02307, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.02307, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.02323, allocations: 219.8 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.02324, allocations: 3.953 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.02326, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.02331, allocations: 0 / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.02335, allocations: 7.984 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.02335, allocations: 0 / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.02344, allocations: 149.5 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02344, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.02373, allocations: 43.8 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001409/0.02514, allocations: 0.4891 MB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.02527, allocations: 23.67 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02527, allocations: 0 / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.0253, allocations: 19.69 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.02553, allocations: 27.86 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.02591, allocations: 165.9 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.02596, allocations: 63.34 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.589e-05/0.026, allocations: 11.97 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.02604, allocations: 16.5 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02604, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.004076/0.03012, allocations: 1.832 MB / 385.5 MB, free: 11.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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.334571692859754]