Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009012/0.0009012, allocations: 72.89 kB / 21.49 MB, free: 2.836 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.0009578/0.0009578, allocations: 167.4 kB / 24.91 MB, free: 9.254 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.9398/0.9398, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2716/0.2716, allocations: 32.81 MB / 294.6 MB, free: 1.164 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.355e-05, allocations: 3.188 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003115/0.003139, allocations: 1.702 MB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.004187, allocations: 0.5723 MB / 325.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.004268, allocations: 4 kB / 325.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.004856, allocations: 458.9 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.005257, allocations: 299.2 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.005595, allocations: 171.6 kB / 326.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.005809, allocations: 179.6 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.005891, allocations: 16.83 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.006008, allocations: 123.8 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.006174, allocations: 199.6 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.006189, allocations: 4 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.006276, allocations: 51.91 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.006355, allocations: 91.66 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.00639, allocations: 39.73 kB / 327.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.006598, allocations: 215.1 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.006602, allocations: 0 / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006603, allocations: 0 / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006607, allocations: 0 / 327.3 MB, free: 5.516 MB / 298.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.0004316/0.007039, allocations: 0.5538 MB / 327.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.007069, allocations: 12.03 kB / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.007108, allocations: 28.91 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.007293, allocations: 246 kB / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.007302, allocations: 8.375 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.007323, allocations: 4.375 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.417e-05/0.007417, allocations: 62.94 kB / 328.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.007425, allocations: 4.188 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.007433, allocations: 4.125 kB / 328.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.007445, allocations: 4 kB / 328.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.007467, allocations: 7.938 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.007739, allocations: 207.1 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.007792, allocations: 37.36 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.007809, allocations: 12.95 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.007826, allocations: 11.88 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.007846, allocations: 34.66 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.007848, allocations: 0 / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004226/0.00827, allocations: 161.4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.008297, allocations: 55.41 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.008594, allocations: 0.5283 MB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.008604, allocations: 25.7 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.00866, allocations: 149.2 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.00868, allocations: 27.84 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.008708, allocations: 21.7 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.008796, allocations: 366.6 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.008811, allocations: 4 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.008822, allocations: 7.938 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.008857, allocations: 31.61 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008859, allocations: 3.984 kB / 329.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.7e-05/0.008926, allocations: 65.67 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.008938, allocations: 7.984 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.008941, allocations: 0 / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.008949, allocations: 4 kB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.009005, allocations: 16 kB / 330 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.009008, allocations: 0 / 330 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.009036, allocations: 7.938 kB / 330 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.009042, allocations: 4 kB / 330 MB, free: 2.656 MB / 298.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 6.939e-05/0.009111, allocations: 124.5 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.009138, allocations: 23.97 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.009258, allocations: 101.8 kB / 330.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.00926, allocations: 0 / 330.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009261, allocations: 8 kB / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.009264, allocations: 0 / 330.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.009519, allocations: 307.5 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.00952, allocations: 0 / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.009557, allocations: 19.94 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.00956, allocations: 3.984 kB / 330.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.009567, allocations: 8 kB / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009569, allocations: 0 / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009569, allocations: 0 / 330.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.538e-05/0.009665, allocations: 172.3 kB / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.009689, allocations: 39.73 kB / 330.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.009704, allocations: 8 kB / 330.8 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.009742, allocations: 3.984 kB / 330.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.009768, allocations: 7.938 kB / 330.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.009771, allocations: 0 / 330.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.009942, allocations: 291.2 kB / 331.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009942, allocations: 0 / 331.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.01009, allocations: 28 kB / 331.2 MB, free: 1.469 MB / 298.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.001303/0.01139, allocations: 0.5896 MB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.01147, allocations: 32.83 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01148, allocations: 4 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.0115, allocations: 24.78 kB / 331.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01167, allocations: 30.02 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.01225, allocations: 0.6032 MB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.991e-05/0.01233, allocations: 127.2 kB / 332.6 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.01237, allocations: 13.03 kB / 332.6 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.01243, allocations: 63.36 kB / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01243, allocations: 0 / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of Templates: time 0.003982/0.01641, allocations: 1.752 MB / 334.4 MB, free: 14.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.880311958026141]