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.001893/0.001893, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002419/0.002419, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.519/1.519, allocations: 230.3 MB / 258 MB, free: 8.227 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.002582/0.002582, allocations: 63.89 kB / 378.7 MB, free: 2.887 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2758, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003826/0.2796, allocations: 2.38 MB / 434.5 MB, free: 4.707 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001197/0.2808, allocations: 0.6622 MB / 435.2 MB, free: 4.039 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2809, allocations: 11.88 kB / 435.2 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.281, allocations: 31.66 kB / 435.2 MB, free: 3.996 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.2812, allocations: 87.27 kB / 435.3 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.2814, allocations: 59.86 kB / 435.3 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003112/0.2817, allocations: 258.8 kB / 435.6 MB, free: 3.598 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2819, allocations: 69.25 kB / 435.7 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2821, allocations: 103.6 kB / 435.8 MB, free: 3.426 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2823, allocations: 111.5 kB / 435.9 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.2823, allocations: 16 kB / 435.9 MB, free: 3.301 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.2824, allocations: 28 kB / 435.9 MB, free: 3.273 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.2824, allocations: 47.78 kB / 436 MB, free: 3.227 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2825, allocations: 119.4 kB / 436.1 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.2829, allocations: 256.6 kB / 436.3 MB, free: 2.867 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2829, allocations: 0 / 436.3 MB, free: 2.867 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.012e-06/0.2829, allocations: 0 / 436.3 MB, free: 2.867 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.703e-06/0.2829, allocations: 0 / 436.3 MB, free: 2.867 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.0007609/0.2837, allocations: 449.6 kB / 436.8 MB, free: 2.398 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2837, allocations: 12.03 kB / 436.8 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.2839, allocations: 36.78 kB / 436.8 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.2842, allocations: 190.7 kB / 437 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.2842, allocations: 16.81 kB / 437 MB, free: 2.121 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.2843, allocations: 20.38 kB / 437 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.2847, allocations: 210.2 kB / 437.2 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.2847, allocations: 7.953 kB / 437.3 MB, free: 1.879 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2847, allocations: 8 kB / 437.3 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.2847, allocations: 11.98 kB / 437.3 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.285, allocations: 129.6 kB / 437.4 MB, free: 1.73 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2861, allocations: 0.6696 MB / 438.1 MB, free: 1.016 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.2864, allocations: 138.5 kB / 438.2 MB, free: 0.8711 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.2865, allocations: 64.83 kB / 438.3 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2866, allocations: 0 / 438.3 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.2866, allocations: 42.5 kB / 438.3 MB, free: 0.7539 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.2866, allocations: 0 / 438.3 MB, free: 0.7539 MB / 334.1 MB
Notification: Performance of matching and sorting (n=24): time 0.00162/0.2882, allocations: 0.7456 MB / 439.1 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.2883, allocations: 55.41 kB / 439.1 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2884, allocations: 176.1 kB / 439.3 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2885, allocations: 29.7 kB / 439.3 MB, free: 15.67 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.2886, allocations: 144.4 kB / 439.5 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.2886, allocations: 95.2 kB / 439.5 MB, free: 15.43 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.2887, allocations: 49.7 kB / 439.6 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001618/0.2889, allocations: 334.6 kB / 439.9 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.289, allocations: 55.98 kB / 440 MB, free: 14.99 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.2892, allocations: 92.25 kB / 440.1 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.2895, allocations: 180.7 kB / 440.2 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2895, allocations: 3.938 kB / 440.2 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004749/0.2899, allocations: 254.2 kB / 440.5 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.29, allocations: 8 kB / 440.5 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.29, allocations: 0 / 440.5 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.2901, allocations: 28.84 kB / 440.5 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2904, allocations: 55.91 kB / 440.6 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.2917, allocations: 1.373 MB / 442 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2919, allocations: 8.031 kB / 442 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2919, allocations: 12 kB / 442 MB, free: 12.82 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.0001426/0.292, allocations: 133.8 kB / 442.1 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.2921, allocations: 27.78 kB / 442.1 MB, free: 12.66 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.2921, allocations: 25.97 kB / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2921, allocations: 7.938 kB / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2922, allocations: 0 / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2922, allocations: 144 / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2932, allocations: 0.6198 MB / 442.8 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2932, allocations: 0 / 442.8 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.2934, allocations: 55.91 kB / 442.8 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.2935, allocations: 28.84 kB / 442.9 MB, free: 11.85 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.2935, allocations: 4 kB / 442.9 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.2949, allocations: 1.385 MB / 444.3 MB, free: 10.35 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2949, allocations: 0 / 444.3 MB, free: 10.35 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.2956, allocations: 406.2 kB / 444.7 MB, free: 9.926 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.2956, allocations: 15.86 kB / 444.7 MB, free: 9.91 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.2956, allocations: 8 kB / 444.7 MB, free: 9.902 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2958, allocations: 8 kB / 444.7 MB, free: 9.895 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.2958, allocations: 27.94 kB / 444.7 MB, free: 9.867 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2958, allocations: 4 kB / 444.7 MB, free: 9.863 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001208/0.296, allocations: 125.2 kB / 444.8 MB, free: 9.742 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.296, allocations: 0 / 444.8 MB, free: 9.742 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003491/0.2963, allocations: 63.94 kB / 444.9 MB, free: 9.68 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.0001445/0.2965, allocations: 107.7 kB / 445 MB, free: 9.566 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006143/0.2971, allocations: 278.4 kB / 445.3 MB, free: 9.281 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2971, allocations: 0 / 445.3 MB, free: 9.281 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.2974, allocations: 214.5 kB / 445.5 MB, free: 9.059 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.2979, allocations: 47.89 kB / 445.5 MB, free: 9.016 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2992, allocations: 0.6933 MB / 446.2 MB, free: 8.285 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.2996, allocations: 0.7443 MB / 447 MB, free: 7.516 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.652e-05/0.2996, allocations: 17.95 kB / 447 MB, free: 7.5 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.2997, allocations: 19.44 kB / 447 MB, free: 7.48 MB / 350.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.2997, allocations: 0 / 447 MB, free: 7.48 MB / 350.1 MB
Notification: Performance of Templates: time 0.006875/0.3066, allocations: 2.574 MB / 449.6 MB, free: 4.922 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/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: 4.602509330026805]