Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007482/0.007482, allocations: 109.8 kB / 21.98 MB, free: 5.176 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.001751/0.001751, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 56.8 kB / 379.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4038, allocations: 53.39 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003851/0.4077, allocations: 2.38 MB / 435.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4089, allocations: 0.6622 MB / 436.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.409, allocations: 4 kB / 436.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.4092, allocations: 35.59 kB / 436.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.4093, allocations: 83.27 kB / 436.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.4096, allocations: 63.86 kB / 436.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.4099, allocations: 258.8 kB / 436.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.4101, allocations: 73.05 kB / 436.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.4103, allocations: 107.6 kB / 436.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.4105, allocations: 111.5 kB / 436.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.4105, allocations: 20 kB / 437 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.4106, allocations: 24 kB / 437 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.4106, allocations: 47.84 kB / 437 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.4107, allocations: 115.4 kB / 437.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.4111, allocations: 253.4 kB / 437.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4111, allocations: 0 / 437.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4111, allocations: 3.938 kB / 437.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4111, allocations: 0 / 437.4 MB, free: 2.762 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.0007113/0.4118, allocations: 449.6 kB / 437.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4118, allocations: 8.031 kB / 437.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.412, allocations: 36.78 kB / 437.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.4123, allocations: 190.8 kB / 438.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4123, allocations: 16.81 kB / 438.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.4124, allocations: 20.38 kB / 438.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.4128, allocations: 214.1 kB / 438.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.4128, allocations: 3.953 kB / 438.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.4128, allocations: 12 kB / 438.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4128, allocations: 7.984 kB / 438.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.4131, allocations: 129.7 kB / 438.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.4141, allocations: 0.6695 MB / 439.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.4144, allocations: 138.5 kB / 439.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.4145, allocations: 68.83 kB / 439.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.4146, allocations: 4 kB / 439.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4146, allocations: 34.56 kB / 439.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.4146, allocations: 0 / 439.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001575/0.4162, allocations: 0.7431 MB / 440.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4162, allocations: 55.41 kB / 440.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.4164, allocations: 176.4 kB / 440.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4164, allocations: 29.7 kB / 440.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.4165, allocations: 144.4 kB / 440.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.4166, allocations: 95.2 kB / 440.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.4167, allocations: 49.7 kB / 440.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4168, allocations: 330.8 kB / 441 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.417, allocations: 55.98 kB / 441 MB, free: 14.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.4171, allocations: 96.25 kB / 441.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.4174, allocations: 168.2 kB / 441.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4174, allocations: 3.938 kB / 441.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000462/0.4179, allocations: 250.1 kB / 441.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4179, allocations: 12.12 kB / 441.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4179, allocations: 3.938 kB / 441.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.4181, allocations: 32.78 kB / 441.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.4183, allocations: 47.97 kB / 441.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.4196, allocations: 1.377 MB / 443 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.4197, allocations: 8.031 kB / 443 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.4198, allocations: 12 kB / 443 MB, free: 12.73 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.0001522/0.4199, allocations: 138 kB / 443.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.42, allocations: 27.84 kB / 443.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.42, allocations: 25.97 kB / 443.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.42, allocations: 4.078 kB / 443.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.42, allocations: 0 / 443.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.42, allocations: 7.984 kB / 443.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.421, allocations: 0.6179 MB / 443.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.421, allocations: 0 / 443.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.4212, allocations: 43.97 kB / 443.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.4213, allocations: 36.84 kB / 443.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.4214, allocations: 8 kB / 443.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.4226, allocations: 1.381 MB / 445.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4226, allocations: 0 / 445.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.4232, allocations: 409.8 kB / 445.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.4232, allocations: 15.86 kB / 445.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.4233, allocations: 8 kB / 445.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4234, allocations: 12 kB / 445.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.4234, allocations: 23.88 kB / 445.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4234, allocations: 12 kB / 445.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.4236, allocations: 121.2 kB / 445.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4236, allocations: 4 kB / 445.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.4239, allocations: 56 kB / 445.9 MB, free: 9.582 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.0001215/0.424, allocations: 99.78 kB / 446 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.4246, allocations: 294.3 kB / 446.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4246, allocations: 0 / 446.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.4249, allocations: 213.4 kB / 446.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4254, allocations: 53.7 kB / 446.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.4266, allocations: 0.7218 MB / 447.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.427, allocations: 0.7443 MB / 448.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.4271, allocations: 19.44 kB / 448.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4271, allocations: 0 / 448.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Templates: time 0.006163/0.4332, allocations: 3.508 MB / 451.6 MB, free: 3.848 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.903448462020606]