Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 62.58 kB / 347.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2807, allocations: 49.15 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003498/0.2842, allocations: 2.365 MB / 399.2 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2858, allocations: 0.6353 MB / 399.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.2861, allocations: 3.25 kB / 399.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.2863, allocations: 45.36 kB / 399.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.2866, allocations: 76.06 kB / 399.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.287, allocations: 63.12 kB / 400 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2874, allocations: 268.1 kB / 400.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.2877, allocations: 84.38 kB / 400.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.288, allocations: 107.6 kB / 400.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.2882, allocations: 121.9 kB / 400.6 MB, free: 7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.2883, allocations: 20.31 kB / 400.6 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.2883, allocations: 21.94 kB / 400.6 MB, free: 7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.2884, allocations: 50.14 kB / 400.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.2886, allocations: 121.3 kB / 400.8 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.2892, allocations: 259.3 kB / 401 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.2892, allocations: 0.5156 kB / 401 MB, free: 6.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.2892, allocations: 1.25 kB / 401 MB, free: 6.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2892, allocations: 0 / 401 MB, free: 6.797 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001042/0.2903, allocations: 463.7 kB / 401.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.2903, allocations: 13.45 kB / 401.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.2904, allocations: 34.06 kB / 401.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.2909, allocations: 183.1 kB / 401.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.2909, allocations: 16.84 kB / 401.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/0.291, allocations: 28.75 kB / 401.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.2915, allocations: 199.3 kB / 401.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.2915, allocations: 5.844 kB / 401.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.2916, allocations: 6.312 kB / 401.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.2916, allocations: 4.594 kB / 402 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.292, allocations: 141.8 kB / 402.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2932, allocations: 0.5797 MB / 402.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.2935, allocations: 171 kB / 402.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.2937, allocations: 88.55 kB / 402.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.2938, allocations: 10.75 kB / 402.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2938, allocations: 39.7 kB / 403 MB, free: 5.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.854e-06/0.2938, allocations: 0 / 403 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002009/0.2958, allocations: 0.923 MB / 403.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2959, allocations: 62.75 kB / 404 MB, free: 4.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.296, allocations: 182.1 kB / 404.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2961, allocations: 30.7 kB / 404.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.2961, allocations: 141.8 kB / 404.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.2962, allocations: 122.1 kB / 404.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.2963, allocations: 56 kB / 404.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.2964, allocations: 329.2 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2965, allocations: 70.72 kB / 404.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.2967, allocations: 109.9 kB / 405 MB, free: 4.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.297, allocations: 195.5 kB / 405.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.297, allocations: 0 / 405.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000499/0.2975, allocations: 293.6 kB / 405.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2975, allocations: 5.938 kB / 405.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2975, allocations: 5.078 kB / 405.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.2977, allocations: 41.98 kB / 405.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2979, allocations: 57.11 kB / 405.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.2991, allocations: 1.639 MB / 407.2 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2992, allocations: 10.02 kB / 407.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2992, allocations: 10.5 kB / 407.2 MB, free: 2.242 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.2994, allocations: 141.5 kB / 407.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.2994, allocations: 26.27 kB / 407.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.2995, allocations: 33.47 kB / 407.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2995, allocations: 2.656 kB / 407.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2995, allocations: 1.062 kB / 407.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2995, allocations: 3.078 kB / 407.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.3004, allocations: 0.7472 MB / 408.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3004, allocations: 1.375 kB / 408.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3007, allocations: 57.86 kB / 408.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.3008, allocations: 36.78 kB / 408.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3008, allocations: 11.3 kB / 408.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007666/0.3016, allocations: 1.387 MB / 409.7 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3016, allocations: 5.188 kB / 409.7 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.3022, allocations: 487.8 kB / 410.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.3023, allocations: 27.67 kB / 410.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.3023, allocations: 8.328 kB / 410.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3024, allocations: 8.812 kB / 410.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.3025, allocations: 23.42 kB / 410.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3025, allocations: 10.61 kB / 410.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3026, allocations: 131.6 kB / 410.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3026, allocations: 0 / 410.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.303, allocations: 68.53 kB / 410.4 MB, free: 15.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.3031, allocations: 111 kB / 410.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006022/0.3037, allocations: 327.8 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3037, allocations: 1.375 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.3041, allocations: 235.6 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3045, allocations: 39.19 kB / 411.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3058, allocations: 0.7282 MB / 411.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3062, allocations: 0.7597 MB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.162e-05/0.3063, allocations: 25.47 kB / 412.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.3064, allocations: 20.53 kB / 412.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3064, allocations: 1.156 kB / 412.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of Templates: time 0.006854/0.3132, allocations: 2.895 MB / 415.5 MB, free: 13.05 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.503039185889065]