Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001232/0.001232, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001303/0.001303, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 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.345/1.345, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 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.2107/0.2107, allocations: 46.88 MB / 361.3 MB, free: 4.445 MB / 286.1 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 79.88 kB / 0.4971 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2856, allocations: 66.03 MB / 0.5616 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002933/0.2885, allocations: 1.642 MB / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.2895, allocations: 0.5654 MB / 0.5637 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.2895, allocations: 0 / 0.5637 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.2898, allocations: 75.72 kB / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.29, allocations: 95.66 kB / 0.5639 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.2903, allocations: 118.4 kB / 0.564 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.2905, allocations: 87.75 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.2906, allocations: 15.64 kB / 0.5641 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.2906, allocations: 31.91 kB / 0.5641 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2907, allocations: 55.77 kB / 0.5642 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2907, allocations: 0 / 0.5642 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.2908, allocations: 51.91 kB / 0.5642 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.2909, allocations: 19.92 kB / 0.5642 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.2909, allocations: 27.81 kB / 0.5643 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.2911, allocations: 106.4 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2911, allocations: 8 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.2911, allocations: 0 / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2911, allocations: 0 / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004439/0.2916, allocations: 337.6 kB / 0.5647 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2916, allocations: 8.031 kB / 0.5647 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.2916, allocations: 12.84 kB / 0.5647 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.2918, allocations: 143.7 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2918, allocations: 4.375 kB / 0.5649 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.2919, allocations: 8.359 kB / 0.5649 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.292, allocations: 54.23 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.292, allocations: 4.188 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.292, allocations: 7.938 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.292, allocations: 0 / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.2921, allocations: 27.97 kB / 0.565 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.2925, allocations: 275.8 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2926, allocations: 50.56 kB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.2927, allocations: 20.94 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2927, allocations: 0 / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.2927, allocations: 38.44 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2927, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008836/0.2936, allocations: 241.2 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.2937, allocations: 55.41 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.2939, allocations: 195.3 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.2939, allocations: 25.7 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.2939, allocations: 108.1 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.294, allocations: 35.73 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.294, allocations: 21.72 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2942, allocations: 326.7 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.2943, allocations: 35.97 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.2943, allocations: 23.98 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.2945, allocations: 81.09 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2945, allocations: 4 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.2947, allocations: 113.5 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2947, allocations: 4 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2948, allocations: 0 / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2948, allocations: 0 / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.2949, allocations: 19.98 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2949, allocations: 0 / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.2949, allocations: 7.984 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.2949, allocations: 0 / 0.5666 GB, free: 15.26 MB / 414.1 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 9.907e-05/0.295, allocations: 133.8 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.295, allocations: 11.91 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.2953, allocations: 131 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2953, allocations: 0 / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2953, allocations: 0 / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2954, allocations: 0 / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.2959, allocations: 398.3 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2959, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.296, allocations: 20.41 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.296, allocations: 3.938 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.296, allocations: 3.938 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.296, allocations: 4 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.296, allocations: 3.938 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2963, allocations: 220.3 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.2963, allocations: 11.94 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2963, allocations: 3.938 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.2964, allocations: 12 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2964, allocations: 7.984 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.2964, allocations: 0 / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.2966, allocations: 160.9 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2966, allocations: 0 / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.2968, allocations: 19.94 kB / 0.5677 GB, free: 14.04 MB / 414.1 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.001595/0.2984, allocations: 455.2 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.2986, allocations: 75.92 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2986, allocations: 3.938 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.2987, allocations: 39.92 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2991, allocations: 19.92 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.2995, allocations: 263.2 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2999, allocations: 0.7002 MB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.2999, allocations: 20.64 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3, allocations: 15.44 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3, allocations: 4 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of Templates: time 0.004219/0.3042, allocations: 1.427 MB / 0.5706 GB, free: 11.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.543879994191229]