Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001963/0.001963, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002407/0.002407, allocations: 161.7 kB / 24.27 MB, free: 172 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.546/1.546, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3621/0.3621, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.838e-05, allocations: 5.266 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003181/0.00321, allocations: 1.669 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004451, allocations: 0.5725 MB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.004506, allocations: 0 / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.005188, allocations: 455.1 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.005738, allocations: 299.1 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.006197, allocations: 171.5 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.006474, allocations: 191.5 kB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.006573, allocations: 24.2 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.006736, allocations: 119.8 kB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.007039, allocations: 243.6 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.007062, allocations: 4 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.007182, allocations: 55.92 kB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.0073, allocations: 87.64 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.007369, allocations: 43.73 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.00774, allocations: 263 kB / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.007745, allocations: 0 / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007745, allocations: 0 / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.007751, allocations: 0 / 379.5 MB, free: 0.7656 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007944/0.008546, allocations: 0.5931 MB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.00858, allocations: 8.031 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.008663, allocations: 48.61 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.008994, allocations: 250 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.009003, allocations: 384 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.009033, allocations: 8.328 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.009224, allocations: 70.22 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.009236, allocations: 192 / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.009252, allocations: 8.125 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.009259, allocations: 4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.009413, allocations: 43.95 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.009998, allocations: 348.4 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.01025, allocations: 58.48 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.01034, allocations: 33 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.01036, allocations: 0 / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.01039, allocations: 38.56 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.01039, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001752/0.01214, allocations: 0.4928 MB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.0122, allocations: 59.41 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.01336, allocations: 0.8614 MB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.01338, allocations: 29.7 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.01359, allocations: 224 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.01364, allocations: 31.7 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.0137, allocations: 29.7 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.01392, allocations: 366.7 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.01408, allocations: 59.95 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01422, allocations: 55.95 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.01453, allocations: 124.9 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01453, allocations: 4 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004906/0.01502, allocations: 205.2 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01504, allocations: 4 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01505, allocations: 4 kB / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.01507, allocations: 0 / 383.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.0152, allocations: 27.92 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01521, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.01529, allocations: 15.98 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.0153, allocations: 4 kB / 383.5 MB, free: 12.52 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 (11): * Single equations (assignments): 11 * 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.0002542/0.01556, allocations: 217.7 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.01564, allocations: 51.72 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.01617, allocations: 241.7 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01618, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01618, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.01619, allocations: 4 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009772/0.01716, allocations: 0.5269 MB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.01717, allocations: 8.062 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.01728, allocations: 31.92 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01729, allocations: 0 / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.0173, allocations: 4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.01731, allocations: 3.938 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01731, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.01781, allocations: 316.8 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.01787, allocations: 43.66 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.0179, allocations: 4 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01802, allocations: 15.92 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.01807, allocations: 7.984 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01809, allocations: 4 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007816/0.01887, allocations: 0.655 MB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01887, allocations: 0 / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.01917, allocations: 35.92 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002327/0.02149, allocations: 495 kB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.02193, allocations: 127.8 kB / 386.3 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02193, allocations: 4 kB / 386.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.0221, allocations: 63.89 kB / 386.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.02263, allocations: 30.3 kB / 386.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.02416, allocations: 0.9063 MB / 387.3 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.02445, allocations: 228.8 kB / 387.5 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.02456, allocations: 36.45 kB / 387.5 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.02461, allocations: 20.48 kB / 387.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02461, allocations: 0 / 387.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of Templates: time 0.006367/0.03098, allocations: 1.803 MB / 389.4 MB, free: 6.762 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.93425564293284]