Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001489/0.001489, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001497/0.001497, allocations: 165.3 kB / 24.27 MB, free: 144 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 1.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 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.3624/0.3624, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.589e-05, allocations: 2.312 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003153/0.003189, allocations: 1.599 MB / 376.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004419, allocations: 0.5375 MB / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.004477, allocations: 0 / 377.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.0047, allocations: 19.86 kB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.005009, allocations: 83.55 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.005351, allocations: 111.7 kB / 377.6 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.005509, allocations: 63.78 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.005601, allocations: 11.97 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.005706, allocations: 27.92 kB / 377.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.005783, allocations: 23.92 kB / 377.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.005803, allocations: 4 kB / 377.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.005894, allocations: 35.91 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.005946, allocations: 11.94 kB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.005987, allocations: 15.92 kB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.006189, allocations: 83.66 kB / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006192, allocations: 0 / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006193, allocations: 0 / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.006197, allocations: 0 / 377.9 MB, free: 2.324 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.000512/0.006709, allocations: 305.9 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.006743, allocations: 12.03 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.006796, allocations: 12.89 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.006994, allocations: 129.6 kB / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.00701, allocations: 12.31 kB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.007042, allocations: 384 / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.007194, allocations: 54.17 kB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.007205, allocations: 192 / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.007217, allocations: 4.125 kB / 378.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.007221, allocations: 0 / 378.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.007324, allocations: 27.97 kB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.007713, allocations: 220.6 kB / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.007941, allocations: 46.5 kB / 378.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.008018, allocations: 20.94 kB / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.00804, allocations: 3.938 kB / 378.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.008069, allocations: 30.56 kB / 378.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.00807, allocations: 0 / 378.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006303/0.008701, allocations: 165.6 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.00875, allocations: 51.41 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.008946, allocations: 156.7 kB / 379.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.00897, allocations: 25.7 kB / 379.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.009039, allocations: 92.14 kB / 379.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.009073, allocations: 19.88 kB / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.009112, allocations: 13.72 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.009296, allocations: 322.8 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.009378, allocations: 19.98 kB / 379.6 MB, free: 460 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.009447, allocations: 23.98 kB / 379.6 MB, free: 436 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.009609, allocations: 56.77 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.00961, allocations: 0 / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.009825, allocations: 93.8 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.00984, allocations: 8 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009845, allocations: 0 / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.009865, allocations: 3.984 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.009943, allocations: 11.98 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.00995, allocations: 8 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.009994, allocations: 7.891 kB / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.01, allocations: 4 kB / 379.8 MB, free: 232 kB / 346.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 0.0001059/0.01011, allocations: 117.8 kB / 379.9 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.01015, allocations: 19.83 kB / 379.9 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.01044, allocations: 98.06 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01044, allocations: 0 / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01044, allocations: 0 / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01045, allocations: 7.984 kB / 380 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.01093, allocations: 298.1 kB / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01093, allocations: 0 / 380.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.01099, allocations: 11.98 kB / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01099, allocations: 0 / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.011, allocations: 0 / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.011, allocations: 4 kB / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01101, allocations: 0 / 380.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.01129, allocations: 191.4 kB / 380.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.0113, allocations: 3.953 kB / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.01131, allocations: 4 kB / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.01139, allocations: 8.172 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.01142, allocations: 0 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.01143, allocations: 7.938 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.01154, allocations: 121.5 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01154, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.0118, allocations: 16 kB / 380.7 MB, free: 15.27 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.002008/0.01381, allocations: 426 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.01402, allocations: 51.95 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01402, allocations: 0 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.01411, allocations: 27.92 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.01449, allocations: 27.86 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.01501, allocations: 192.9 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.01511, allocations: 83.31 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.01517, allocations: 16.22 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.01521, allocations: 12.5 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01521, allocations: 0 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Templates: time 0.00421/0.01942, allocations: 1.17 MB / 382.7 MB, free: 13.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.863837918033823]