Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.92 kB / 379 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003827/0.2753, allocations: 2.383 MB / 434.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2766, allocations: 0.6582 MB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2767, allocations: 11.94 kB / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2768, allocations: 31.66 kB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.277, allocations: 83.33 kB / 435.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.2773, allocations: 59.86 kB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.2776, allocations: 266.7 kB / 435.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2777, allocations: 57.28 kB / 435.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.278, allocations: 111.6 kB / 436 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.2781, allocations: 107.5 kB / 436.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.2782, allocations: 20 kB / 436.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.861e-05/0.2782, allocations: 32 kB / 436.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.2783, allocations: 43.78 kB / 436.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2784, allocations: 119.4 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.2787, allocations: 252.2 kB / 436.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2787, allocations: 0 / 436.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2787, allocations: 4 kB / 436.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2787, allocations: 3.938 kB / 436.6 MB, free: 2.719 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007058/0.2794, allocations: 449.6 kB / 437 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2795, allocations: 12.03 kB / 437.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.2796, allocations: 36.78 kB / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.28, allocations: 182.8 kB / 437.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.28, allocations: 20.8 kB / 437.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.28, allocations: 20.38 kB / 437.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2804, allocations: 214.2 kB / 437.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2804, allocations: 3.953 kB / 437.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2804, allocations: 4 kB / 437.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2805, allocations: 12 kB / 437.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.2807, allocations: 129.6 kB / 437.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.2818, allocations: 0.6617 MB / 438.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.282, allocations: 150.5 kB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.2822, allocations: 60.78 kB / 438.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2822, allocations: 8 kB / 438.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2822, allocations: 38.53 kB / 438.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.2822, allocations: 0 / 438.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00155/0.2838, allocations: 0.7369 MB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.2838, allocations: 51.41 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.284, allocations: 180.4 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.284, allocations: 29.7 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2841, allocations: 148.3 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.2842, allocations: 95.2 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.2843, allocations: 49.7 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2844, allocations: 330.8 kB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.2845, allocations: 55.97 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2847, allocations: 96.2 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.285, allocations: 176.1 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.285, allocations: 0 / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004494/0.2854, allocations: 254.1 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2854, allocations: 4 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2854, allocations: 4 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.2856, allocations: 32.78 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.2858, allocations: 55.91 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.2871, allocations: 1.373 MB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.2873, allocations: 8 kB / 442.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2873, allocations: 8 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001502/0.2874, allocations: 147.5 kB / 442.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.2875, allocations: 19.86 kB / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.2875, allocations: 26.11 kB / 442.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2875, allocations: 11.92 kB / 442.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2875, allocations: 0 / 442.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2876, allocations: 3.984 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.2885, allocations: 0.6121 MB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.2885, allocations: 0 / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.2887, allocations: 47.91 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.2888, allocations: 40.83 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.2888, allocations: 4 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.29, allocations: 1.377 MB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.29, allocations: 8.094 kB / 444.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.2906, allocations: 405.7 kB / 444.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.2906, allocations: 19.86 kB / 444.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.2907, allocations: 4 kB / 444.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2908, allocations: 16.03 kB / 445 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.2909, allocations: 23.91 kB / 445 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2909, allocations: 4 kB / 445 MB, free: 9.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.291, allocations: 129.2 kB / 445.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.291, allocations: 0 / 445.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.2913, allocations: 60 kB / 445.2 MB, free: 9.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0001197/0.2914, allocations: 109.8 kB / 445.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.292, allocations: 278.6 kB / 445.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.292, allocations: 3.938 kB / 445.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.2923, allocations: 206.6 kB / 445.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.2927, allocations: 52.22 kB / 445.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2941, allocations: 0.7179 MB / 446.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2944, allocations: 0.7443 MB / 447.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.2945, allocations: 23.44 kB / 447.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2945, allocations: 0 / 447.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of Templates: time 0.006012/0.3005, allocations: 3.523 MB / 450.8 MB, free: 3.789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.353866933146492]