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.001776/0.001776, allocations: 107 kB / 19.8 MB, free: 2.5 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.002343/0.002343, allocations: 221 kB / 23 MB, free: 5.574 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.421/1.421, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.002047/0.002047, allocations: 63.89 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2751, allocations: 53.32 MB / 429.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003558/0.2787, allocations: 2.394 MB / 432.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2799, allocations: 0.6544 MB / 432.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.28, allocations: 7.938 kB / 432.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.2802, allocations: 35.66 kB / 432.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2803, allocations: 75.33 kB / 432.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2806, allocations: 63.86 kB / 433 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.2809, allocations: 258.8 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.2812, allocations: 64.34 kB / 433.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.2814, allocations: 111.6 kB / 433.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2815, allocations: 103.5 kB / 433.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.2816, allocations: 20 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.2816, allocations: 28 kB / 433.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.2817, allocations: 47.83 kB / 433.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.2819, allocations: 115.4 kB / 433.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.2822, allocations: 256.4 kB / 434 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2822, allocations: 3.938 kB / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2822, allocations: 4 kB / 434 MB, free: 3.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2822, allocations: 4 kB / 434 MB, free: 3.465 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.0007446/0.283, allocations: 0.5182 MB / 434.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.283, allocations: 8.031 kB / 434.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.2832, allocations: 32.8 kB / 434.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.2835, allocations: 248.6 kB / 434.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2835, allocations: 16.81 kB / 434.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.2836, allocations: 28.3 kB / 434.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.2839, allocations: 214.2 kB / 435.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.284, allocations: 3.953 kB / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.284, allocations: 8 kB / 435.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.284, allocations: 8 kB / 435.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.2842, allocations: 125.7 kB / 435.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2854, allocations: 0.7016 MB / 435.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.2857, allocations: 130.5 kB / 436 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.2858, allocations: 64.83 kB / 436.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2858, allocations: 4 kB / 436.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2858, allocations: 38.56 kB / 436.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.2858, allocations: 0 / 436.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001839/0.2877, allocations: 0.9035 MB / 437 MB, free: 172 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.2877, allocations: 55.41 kB / 437.1 MB, free: 104 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2879, allocations: 177.2 kB / 437.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2879, allocations: 29.7 kB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.288, allocations: 148.4 kB / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.2881, allocations: 87.22 kB / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.2882, allocations: 53.69 kB / 437.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2884, allocations: 330.8 kB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2885, allocations: 55.98 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.2887, allocations: 104.2 kB / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.2889, allocations: 172.1 kB / 438.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2889, allocations: 0 / 438.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005438/0.2895, allocations: 254.1 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2895, allocations: 4 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2895, allocations: 0 / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.2897, allocations: 40.91 kB / 438.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.2899, allocations: 43.97 kB / 438.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.2915, allocations: 1.492 MB / 440.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2916, allocations: 8.031 kB / 440.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2917, allocations: 8 kB / 440.1 MB, free: 12.9 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.0001255/0.2918, allocations: 133.8 kB / 440.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.2918, allocations: 27.84 kB / 440.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.2919, allocations: 25.88 kB / 440.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2919, allocations: 11.94 kB / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/0.2919, allocations: 0 / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2919, allocations: 0 / 440.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.2928, allocations: 0.6559 MB / 440.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2928, allocations: 64 / 440.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.293, allocations: 43.98 kB / 441 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.2932, allocations: 40.81 kB / 441 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2932, allocations: 4 kB / 441 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.2944, allocations: 1.485 MB / 442.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2944, allocations: 0 / 442.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/0.2951, allocations: 402.2 kB / 442.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.2951, allocations: 92.97 kB / 443 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.2952, allocations: 8.031 kB / 443 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2953, allocations: 11.94 kB / 443 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.2954, allocations: 19.92 kB / 443 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2954, allocations: 11.98 kB / 443 MB, free: 9.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.2955, allocations: 132.1 kB / 443.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2955, allocations: 0 / 443.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.2958, allocations: 56 kB / 443.2 MB, free: 9.488 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.0001954/0.296, allocations: 99.25 kB / 443.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005555/0.2965, allocations: 290.8 kB / 443.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2965, allocations: 0 / 443.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.2969, allocations: 206.5 kB / 443.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.2973, allocations: 36.16 kB / 443.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2985, allocations: 0.6918 MB / 444.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2989, allocations: 0.7443 MB / 445.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.299, allocations: 21.88 kB / 445.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.299, allocations: 19.44 kB / 445.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.299, allocations: 0 / 445.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Templates: time 0.006628/0.3057, allocations: 2.525 MB / 447.8 MB, free: 4.793 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.428466928191483]