Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.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.001766/0.001766, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002165/0.002165, allocations: 213.3 kB / 24.48 MB, free: 3.941 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 2.23/2.23, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.First,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.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_4.1.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 43.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00505/0.305, allocations: 2.236 MB / 434.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3067, allocations: 0.631 MB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.3069, allocations: 7.938 kB / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.3071, allocations: 39.58 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3074, allocations: 83.33 kB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3077, allocations: 59.88 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.3082, allocations: 278.7 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.3084, allocations: 71.05 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.3087, allocations: 119.6 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3089, allocations: 111.5 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.3089, allocations: 24 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.309, allocations: 27.98 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.3091, allocations: 55.78 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3092, allocations: 99.53 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.3097, allocations: 273.7 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3097, allocations: 0 / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3097, allocations: 0 / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3097, allocations: 0 / 436.4 MB, free: 2.629 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000953/0.3106, allocations: 469.4 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3107, allocations: 12.03 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.3109, allocations: 44.72 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.3114, allocations: 182.8 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.3114, allocations: 12.81 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.3115, allocations: 28.33 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.312, allocations: 199.6 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.312, allocations: 0 / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3121, allocations: 12 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3121, allocations: 4 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.3125, allocations: 141.6 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3136, allocations: 0.4941 MB / 438 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.314, allocations: 176.6 kB / 438.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.3142, allocations: 91.39 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3143, allocations: 4 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3143, allocations: 38.56 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.3143, allocations: 0 / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00231/0.3166, allocations: 0.9222 MB / 439.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3167, allocations: 55.41 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3168, allocations: 171 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.3169, allocations: 33.64 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.317, allocations: 140.7 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.3171, allocations: 127 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3172, allocations: 53.7 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3174, allocations: 326.8 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3176, allocations: 71.95 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.3178, allocations: 107.8 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.3182, allocations: 188.1 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3182, allocations: 0 / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006759/0.3189, allocations: 295.3 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3189, allocations: 4 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.319, allocations: 4 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.3192, allocations: 48.77 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.3195, allocations: 59.91 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.3214, allocations: 1.606 MB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.3216, allocations: 16.02 kB / 442.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3216, allocations: 8 kB / 442.5 MB, free: 12.21 MB / 350.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.0001747/0.3218, allocations: 140.6 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.3218, allocations: 23.86 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.925e-05/0.3219, allocations: 34.58 kB / 442.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3219, allocations: 7.938 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3219, allocations: 4.062 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3219, allocations: 0 / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.3233, allocations: 0.676 MB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3233, allocations: 4 kB / 443.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.3237, allocations: 55.97 kB / 443.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.3238, allocations: 44.81 kB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.3239, allocations: 11.98 kB / 443.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.3254, allocations: 1.351 MB / 444.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3254, allocations: 4.031 kB / 444.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.3263, allocations: 482.8 kB / 445.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.3263, allocations: 27.92 kB / 445.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.3264, allocations: 8 kB / 445.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3266, allocations: 15.97 kB / 445.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.3266, allocations: 15.97 kB / 445.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.3267, allocations: 15.98 kB / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.3268, allocations: 124.5 kB / 445.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3268, allocations: 0 / 445.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005015/0.3273, allocations: 64 kB / 445.6 MB, free: 8.922 MB / 350.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.0001493/0.3274, allocations: 111.2 kB / 445.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007751/0.3282, allocations: 326.6 kB / 446 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3282, allocations: 0 / 446 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.3287, allocations: 234.5 kB / 446.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.3292, allocations: 44.23 kB / 446.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3309, allocations: 0.7413 MB / 447 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.3311, allocations: 146.8 kB / 447.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.3312, allocations: 26.27 kB / 447.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.3313, allocations: 19.44 kB / 447.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3313, allocations: 4 kB / 447.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Templates: time 0.008947/0.3402, allocations: 3.037 MB / 450.3 MB, free: 4.199 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.733147962993826]