Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001902/0.001902, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.00198/0.00198, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.567/1.567, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3723/0.3723, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.033e-05, allocations: 4.422 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003737/0.003767, allocations: 1.611 MB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.005873, allocations: 1.258 MB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.005932, allocations: 0 / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.006189, allocations: 23.8 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.006561, allocations: 87.55 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.006854, allocations: 95.62 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.007028, allocations: 63.78 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.007138, allocations: 15.97 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.007226, allocations: 31.92 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.007382, allocations: 27.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.007406, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.007596, allocations: 95.81 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.007645, allocations: 4 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.007688, allocations: 19.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.00798, allocations: 143.5 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.007984, allocations: 7.938 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007985, allocations: 4 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.007991, allocations: 0 / 380.7 MB, free: 15.39 MB / 362.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.0006251/0.008616, allocations: 419.7 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.00866, allocations: 8.031 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.008724, allocations: 16.89 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.00895, allocations: 136.4 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.008965, allocations: 4.375 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.008986, allocations: 384 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.009172, allocations: 91.33 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.009183, allocations: 192 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.009193, allocations: 4.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.0092, allocations: 4.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.009305, allocations: 23.91 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.00973, allocations: 287.7 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.009968, allocations: 47.05 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.01002, allocations: 23.62 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01004, allocations: 0 / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.01008, allocations: 41.47 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.01008, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005615/0.01064, allocations: 137.3 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.01071, allocations: 77.11 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.01092, allocations: 216.6 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01094, allocations: 25.7 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.01104, allocations: 138.9 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.01107, allocations: 23.88 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.01112, allocations: 23.38 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.01139, allocations: 0.4923 MB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.01145, allocations: 12 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/0.01155, allocations: 65.06 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.01166, allocations: 43.86 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01167, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.01186, allocations: 89.5 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01187, allocations: 4 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01188, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01189, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.01196, allocations: 8 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01196, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.01201, allocations: 15.95 kB / 383.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.01201, allocations: 0 / 383.1 MB, free: 12.71 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 (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.0001294/0.01214, allocations: 160.6 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.01219, allocations: 15.89 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.01242, allocations: 82.09 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01242, allocations: 4 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01243, allocations: 7.922 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01243, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.01291, allocations: 345.4 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01291, allocations: 0 / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.01296, allocations: 11.98 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01296, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01297, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01297, allocations: 4.125 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.01298, allocations: 8 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.01326, allocations: 227.8 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.01328, allocations: 7.953 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.0133, allocations: 0 / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.01337, allocations: 11.98 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01341, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01342, allocations: 8 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.01355, allocations: 155.2 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01355, allocations: 0 / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.01384, allocations: 35.88 kB / 384.2 MB, free: 11.57 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.003383/0.01722, allocations: 0.5166 MB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.01755, allocations: 55.59 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01756, allocations: 0 / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.01763, allocations: 31.67 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.01797, allocations: 26.73 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.0185, allocations: 185.8 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.0186, allocations: 71.33 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.01867, allocations: 15.92 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.01873, allocations: 24.48 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01873, allocations: 0 / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.005882/0.02461, allocations: 1.822 MB / 386.9 MB, free: 8.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.997192856972106]