Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001335/0.001335, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002172/0.002172, allocations: 215.9 kB / 24.5 MB, free: 4.152 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.542/1.542, allocations: 230.5 MB / 258.1 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2776, allocations: 53.42 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.00397/0.2816, allocations: 2.383 MB / 434.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2828, allocations: 0.6544 MB / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.283, allocations: 11.88 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.2831, allocations: 39.59 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2833, allocations: 75.34 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.2836, allocations: 55.92 kB / 435.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.2839, allocations: 262.8 kB / 435.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.2841, allocations: 64.45 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.2843, allocations: 119.6 kB / 436.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.2845, allocations: 99.5 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.2845, allocations: 16 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.2846, allocations: 35.98 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.2847, allocations: 43.84 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2848, allocations: 119.4 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.2851, allocations: 260.2 kB / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2851, allocations: 0 / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2852, allocations: 0 / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2852, allocations: 0 / 436.7 MB, free: 2.551 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.0007957/0.286, allocations: 449.5 kB / 437.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.286, allocations: 12.03 kB / 437.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.2862, allocations: 36.78 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.2865, allocations: 186.8 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.2866, allocations: 16.81 kB / 437.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.2866, allocations: 24.38 kB / 437.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.287, allocations: 214.1 kB / 437.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.287, allocations: 3.953 kB / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.287, allocations: 12 kB / 437.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.287, allocations: 4 kB / 437.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.2873, allocations: 129.7 kB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.2884, allocations: 0.6618 MB / 438.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.2887, allocations: 150.5 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2889, allocations: 68.81 kB / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.2889, allocations: 0 / 438.6 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.2889, allocations: 38.56 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.2889, allocations: 0 / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001654/0.2906, allocations: 0.7424 MB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2906, allocations: 51.41 kB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.2908, allocations: 180.9 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2909, allocations: 33.7 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.291, allocations: 148.4 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.291, allocations: 87.22 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/0.2911, allocations: 49.7 kB / 439.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2913, allocations: 330.8 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.2914, allocations: 55.97 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2916, allocations: 96.25 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.2919, allocations: 168.8 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2919, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004765/0.2924, allocations: 254.1 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2924, allocations: 4 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2924, allocations: 7.938 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.2925, allocations: 36.83 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.2928, allocations: 51.91 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.2942, allocations: 1.381 MB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2943, allocations: 8 kB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2943, allocations: 8 kB / 442.3 MB, free: 12.51 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.0001521/0.2944, allocations: 141.8 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.2945, allocations: 19.86 kB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.2945, allocations: 25.95 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2945, allocations: 7.938 kB / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2946, allocations: 0 / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2946, allocations: 0 / 442.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.2956, allocations: 0.6237 MB / 443.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2956, allocations: 0 / 443.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.2958, allocations: 43.92 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.2959, allocations: 32.83 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.2959, allocations: 8 kB / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.2972, allocations: 1.389 MB / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2972, allocations: 0 / 444.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.2979, allocations: 398.1 kB / 445 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.2979, allocations: 23.89 kB / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.2979, allocations: 8.062 kB / 445 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.298, allocations: 4 kB / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.2981, allocations: 23.91 kB / 445 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2981, allocations: 4 kB / 445 MB, free: 9.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2982, allocations: 136 kB / 445.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2982, allocations: 0 / 445.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.2986, allocations: 60 kB / 445.2 MB, free: 9.363 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.0001339/0.2987, allocations: 107.2 kB / 445.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.2993, allocations: 278.8 kB / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2993, allocations: 0 / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.2996, allocations: 207 kB / 445.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.3, allocations: 43.91 kB / 445.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3013, allocations: 0.7213 MB / 446.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.3018, allocations: 0.7404 MB / 447.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.3018, allocations: 23.44 kB / 447.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3018, allocations: 3.938 kB / 447.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of Templates: time 0.006315/0.3081, allocations: 3.522 MB / 450.9 MB, free: 3.633 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.813231117092073]