Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009196/0.0009196, allocations: 88.73 kB / 21.5 MB, free: 2.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 166.2 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9072/0.9072, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2605/0.2605, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.257e-05, allocations: 3.078 kB / 325.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003078/0.0031, allocations: 1.686 MB / 327.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.004093, allocations: 0.5446 MB / 328.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.004157, allocations: 4 kB / 328.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.004456, allocations: 91.61 kB / 328.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.004789, allocations: 119.5 kB / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.005344, allocations: 99.69 kB / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.005531, allocations: 95.73 kB / 328.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.005628, allocations: 28.67 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.159e-05/0.005719, allocations: 59.81 kB / 328.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005821, allocations: 47.88 kB / 328.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005839, allocations: 8 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.005938, allocations: 43.92 kB / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.005993, allocations: 27.91 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.006028, allocations: 15.94 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.006223, allocations: 107.5 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006225, allocations: 0 / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006226, allocations: 4 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.00623, allocations: 0 / 328.9 MB, free: 4.125 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004607/0.006691, allocations: 337.4 kB / 329.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.006733, allocations: 12.03 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.006777, allocations: 16.92 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.006957, allocations: 149.4 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006971, allocations: 8.375 kB / 329.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.006996, allocations: 4.375 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.007121, allocations: 63.59 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.007132, allocations: 192 / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.007141, allocations: 8.375 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.00715, allocations: 4.375 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.007188, allocations: 15.92 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.007494, allocations: 198.9 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.00757, allocations: 46.53 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.007593, allocations: 12.86 kB / 329.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.00761, allocations: 0 / 329.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.007632, allocations: 34.5 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.007634, allocations: 4 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005978/0.008232, allocations: 202 kB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.008268, allocations: 55.41 kB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.008436, allocations: 189.1 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.008454, allocations: 25.7 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.008506, allocations: 100.1 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.008551, allocations: 51.52 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.008599, allocations: 25.7 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008708, allocations: 326.8 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.008733, allocations: 11.94 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.00876, allocations: 16.61 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/0.008833, allocations: 51.56 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.008836, allocations: 3.938 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001201/0.008956, allocations: 69.67 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.008968, allocations: 4 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.008973, allocations: 4 kB / 330.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.008987, allocations: 0 / 330.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.009095, allocations: 27.92 kB / 330.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.009101, allocations: 4 kB / 330.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.009132, allocations: 3.984 kB / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.009143, allocations: 8 kB / 331 MB, free: 1.91 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 (13): * Single equations (assignments): 13 * 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 7.764e-05/0.009221, allocations: 116.6 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.009255, allocations: 16.09 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.009445, allocations: 99.06 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009447, allocations: 0 / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.009449, allocations: 0 / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.009454, allocations: 3.984 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.009832, allocations: 288.8 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009834, allocations: 0 / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.009907, allocations: 28.02 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.009911, allocations: 4 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.009917, allocations: 0 / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.009919, allocations: 0 / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.009922, allocations: 3.938 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.01006, allocations: 189.2 kB / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.01007, allocations: 11.91 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.01009, allocations: 0 / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.01015, allocations: 8 kB / 331.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.01018, allocations: 7.984 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01019, allocations: 7.984 kB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.01027, allocations: 69.48 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01027, allocations: 0 / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000252/0.01052, allocations: 23.94 kB / 331.8 MB, free: 0.9805 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 (13): * Single equations (assignments): 13 * 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.001715/0.01223, allocations: 0.5748 MB / 332.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.01235, allocations: 44.83 kB / 332.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.01235, allocations: 8 kB / 332.4 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.0124, allocations: 32.78 kB / 332.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01263, allocations: 23.08 kB / 332.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.01306, allocations: 263.8 kB / 332.7 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.01312, allocations: 83.27 kB / 332.8 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.01319, allocations: 24.53 kB / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.01326, allocations: 59.38 kB / 332.9 MB, free: 108 kB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01326, allocations: 0 / 332.9 MB, free: 108 kB / 298.7 MB Notification: Performance of Templates: time 0.004472/0.01773, allocations: 1.689 MB / 334.6 MB, free: 14.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.88172908173874]