Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.000917/0.000917, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001433/0.001433, allocations: 167.1 kB / 25.61 MB, free: 8.594 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.9054/0.9054, allocations: 177.1 MB / 206.1 MB, free: 4.496 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.1472/0.1472, allocations: 34.26 MB / 296.9 MB, free: 13.93 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 3.938 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.299e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001638/0.001651, allocations: 1.646 MB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000554/0.002205, allocations: 0.5336 MB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.002252, allocations: 0 / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.002462, allocations: 103.6 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.002657, allocations: 111.5 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.002841, allocations: 115.6 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.002951, allocations: 79.81 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.125e-05/0.003022, allocations: 15.98 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.00307, allocations: 43.89 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.003139, allocations: 55.86 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.003151, allocations: 8 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.003211, allocations: 47.86 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.003246, allocations: 23.86 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.003267, allocations: 19.92 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.003381, allocations: 87.67 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003383, allocations: 3.984 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003383, allocations: 0 / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.003387, allocations: 0 / 382.2 MB, free: 20.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002439/0.003631, allocations: 455.8 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.435e-05/0.003655, allocations: 8.031 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.003682, allocations: 20.83 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.003767, allocations: 152.3 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.003775, allocations: 4.375 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.003788, allocations: 384 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.43e-05/0.003853, allocations: 58.95 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00386, allocations: 192 / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-06/0.003866, allocations: 4.125 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.003869, allocations: 0 / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.003889, allocations: 15.97 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.004058, allocations: 272.3 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.102e-05/0.004099, allocations: 43.03 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.004112, allocations: 15.69 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.004122, allocations: 0 / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.004135, allocations: 45.41 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.004136, allocations: 3.938 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003498/0.004486, allocations: 145.5 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/0.0045, allocations: 55.41 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.004576, allocations: 246.3 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.004581, allocations: 25.7 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.004612, allocations: 166.8 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.00463, allocations: 31.73 kB / 383.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.004654, allocations: 31.36 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.004691, allocations: 0.4962 MB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.004702, allocations: 8 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.004714, allocations: 11.92 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.004745, allocations: 31.69 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.004746, allocations: 3.938 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.036e-05/0.004806, allocations: 73.56 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.004815, allocations: 4 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.004818, allocations: 4 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-06/0.004824, allocations: 4 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.004874, allocations: 15.98 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.004876, allocations: 0 / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.004892, allocations: 4 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.004897, allocations: 0 / 384.6 MB, free: 17.88 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 (8): * Single equations (assignments): 8 * 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 3.652e-05/0.004934, allocations: 168.4 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.004954, allocations: 15.91 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.846e-05/0.005043, allocations: 83.44 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.005044, allocations: 0 / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.005046, allocations: 12 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005048, allocations: 0 / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.005238, allocations: 349.5 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005239, allocations: 4 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.00527, allocations: 15.98 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005271, allocations: 0 / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.005276, allocations: 0 / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005277, allocations: 7.938 kB / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005278, allocations: 0 / 385.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.814e-05/0.005346, allocations: 239.5 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-06/0.005353, allocations: 15.97 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.005364, allocations: 0 / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.005397, allocations: 8 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.87e-05/0.005416, allocations: 3.984 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.005419, allocations: 4 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.005456, allocations: 167.1 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005456, allocations: 0 / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.005612, allocations: 23.94 kB / 385.7 MB, free: 16.7 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 (8): * Single equations (assignments): 8 * 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.0007612/0.006373, allocations: 442.7 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.795e-05/0.006441, allocations: 39.66 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006442, allocations: 0 / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.006463, allocations: 27.61 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.006651, allocations: 22.83 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.006878, allocations: 240 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.374e-05/0.006902, allocations: 71.19 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.006933, allocations: 24.77 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.006974, allocations: 82.2 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006975, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of Templates: time 0.002554/0.009529, allocations: 1.569 MB / 388.2 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.88376286579296]