Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001528/0.001528, allocations: 113.1 kB / 21.19 MB, free: 0.7773 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.00172/0.00172, allocations: 210.1 kB / 24.49 MB, free: 4.164 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.381/1.381, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.2117/0.2117, allocations: 46.93 MB / 361.5 MB, free: 4.203 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.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 75.88 kB / 0.4975 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2937, allocations: 66.09 MB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00291/0.2966, allocations: 1.69 MB / 0.5637 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.2982, allocations: 1.025 MB / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.2983, allocations: 3.938 kB / 0.5647 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.2985, allocations: 55.75 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.2988, allocations: 107.5 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.299, allocations: 71.73 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.2992, allocations: 103.6 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.2992, allocations: 8.219 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.826e-05/0.2993, allocations: 51.78 kB / 0.5651 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.2994, allocations: 47.77 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2994, allocations: 4 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.2995, allocations: 27.98 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.2995, allocations: 19.92 kB / 0.5652 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.2996, allocations: 31.75 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2998, allocations: 110 kB / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2998, allocations: 0 / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2998, allocations: 0 / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2998, allocations: 0 / 0.5653 GB, free: 0.8828 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004889/0.3003, allocations: 337.6 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3003, allocations: 8.031 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.3004, allocations: 12.88 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.3006, allocations: 155.6 kB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.3006, allocations: 384 / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.3006, allocations: 8.375 kB / 0.5658 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3008, allocations: 53.92 kB / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3008, allocations: 0 / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3008, allocations: 0 / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3008, allocations: 8 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.3008, allocations: 15.98 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.301, allocations: 148.8 kB / 0.566 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3012, allocations: 46.67 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.3012, allocations: 24.73 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3013, allocations: 0 / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.3014, allocations: 75.33 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3014, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000267/0.3017, allocations: 93.62 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3017, allocations: 55.34 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3019, allocations: 183.2 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3019, allocations: 33.7 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.302, allocations: 104.1 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.302, allocations: 3.953 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.302, allocations: 21.72 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3022, allocations: 318.8 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.3022, allocations: 15.98 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.3023, allocations: 33.66 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3024, allocations: 45.7 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3024, allocations: 0 / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.3025, allocations: 89.47 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3026, allocations: 6.188 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3026, allocations: 0 / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3026, allocations: 3.984 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.3026, allocations: 12 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3026, allocations: 3.938 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.3027, allocations: 0 / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3027, allocations: 11.97 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.48e-05/0.3028, allocations: 125.8 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3028, allocations: 11.89 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.303, allocations: 90.72 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.303, allocations: 384 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.303, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.303, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3032, allocations: 160.7 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3032, allocations: 0 / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.3032, allocations: 11.94 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3032, allocations: 3.938 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.3032, allocations: 0 / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3032, allocations: 4 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3032, allocations: 0 / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3034, allocations: 105.1 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.3034, allocations: 19.81 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.3034, allocations: 3.984 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.3034, allocations: 4 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.3035, allocations: 4 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3035, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3036, allocations: 140.9 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3036, allocations: 0 / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001989/0.3038, allocations: 16 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001451/0.3052, allocations: 407.9 kB / 0.5682 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3054, allocations: 51.84 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3054, allocations: 0 / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.3055, allocations: 16 kB / 0.5683 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3057, allocations: 26.16 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.3062, allocations: 231.5 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3065, allocations: 0.7119 MB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3065, allocations: 11.44 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3065, allocations: 4 kB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Templates: time 0.003466/0.31, allocations: 1.692 MB / 0.5709 GB, free: 10.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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: 7.240019301883876]