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.001556/0.001556, allocations: 116.8 kB / 19.17 MB, free: 3.891 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.00163/0.00163, allocations: 210.6 kB / 22.13 MB, free: 0.9375 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.496/1.496, allocations: 230.4 MB / 255.4 MB, free: 14.96 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.001893/0.001893, allocations: 67.77 kB / 374.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 53.31 MB / 428 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003628/0.1073, allocations: 2.384 MB / 430.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1084, allocations: 0.6388 MB / 431.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1085, allocations: 8 kB / 431.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1086, allocations: 39.59 kB / 431.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1088, allocations: 75.33 kB / 431.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.109, allocations: 59.91 kB / 431.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.1093, allocations: 258.8 kB / 431.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1095, allocations: 64.36 kB / 431.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1097, allocations: 115.5 kB / 431.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1098, allocations: 103.5 kB / 431.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1099, allocations: 23.94 kB / 431.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.279e-05/0.1099, allocations: 24 kB / 431.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.11, allocations: 47.78 kB / 431.9 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1101, allocations: 115.5 kB / 432 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.1104, allocations: 254.8 kB / 432.2 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1104, allocations: 0 / 432.2 MB, free: 124 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1104, allocations: 0 / 432.2 MB, free: 124 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.1104, allocations: 4 kB / 432.2 MB, free: 120 kB / 350.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.2006/0.311, allocations: 0.5094 MB / 432.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.311, allocations: 11.19 kB / 432.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.3112, allocations: 33.58 kB / 432.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.3115, allocations: 247.3 kB / 433 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3115, allocations: 15.56 kB / 433 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.3116, allocations: 23.64 kB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.312, allocations: 206.5 kB / 433.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.312, allocations: 8.062 kB / 433.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.312, allocations: 13.81 kB / 433.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.312, allocations: 5.344 kB / 433.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.3123, allocations: 128.7 kB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.3131, allocations: 0.7121 MB / 434.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.3133, allocations: 135.4 kB / 434.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3135, allocations: 66.89 kB / 434.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3135, allocations: 3.781 kB / 434.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.3135, allocations: 37.19 kB / 434.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.3135, allocations: 0.7188 kB / 434.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001355/0.3149, allocations: 0.8863 MB / 435.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.3149, allocations: 57.5 kB / 435.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.315, allocations: 180.5 kB / 435.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.315, allocations: 28.77 kB / 435.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.3151, allocations: 146 kB / 435.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.3151, allocations: 90.75 kB / 435.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.3152, allocations: 53.89 kB / 435.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.3152, allocations: 326.7 kB / 436.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3153, allocations: 58.09 kB / 436.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3155, allocations: 97.39 kB / 436.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.3157, allocations: 174.3 kB / 436.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3157, allocations: 0 / 436.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004043/0.3161, allocations: 256.4 kB / 436.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3161, allocations: 7.438 kB / 436.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3161, allocations: 1.188 kB / 436.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.3163, allocations: 34.41 kB / 436.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3165, allocations: 55.38 kB / 436.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008762/0.3174, allocations: 1.48 MB / 438.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3175, allocations: 9.75 kB / 438.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3175, allocations: 7.203 kB / 438.3 MB, free: 7.914 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 9.279e-05/0.3176, allocations: 137.2 kB / 438.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.3176, allocations: 20.45 kB / 438.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.3177, allocations: 29.58 kB / 438.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3177, allocations: 6.156 kB / 438.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3177, allocations: 6.094 kB / 438.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3177, allocations: 2.812 kB / 438.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/0.3184, allocations: 0.6441 MB / 439.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3184, allocations: 4.719 kB / 439.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.3186, allocations: 48.25 kB / 439.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.3187, allocations: 35.11 kB / 439.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3187, allocations: 2.891 kB / 439.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007658/0.3195, allocations: 1.489 MB / 440.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3195, allocations: 1.219 kB / 440.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.32, allocations: 404.9 kB / 441.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.32, allocations: 95.91 kB / 441.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.3201, allocations: 7.844 kB / 441.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3202, allocations: 5.719 kB / 441.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.3202, allocations: 18.92 kB / 441.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3202, allocations: 10.23 kB / 441.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.142e-05/0.3203, allocations: 132.5 kB / 441.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3203, allocations: 0 / 441.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.3206, allocations: 58.06 kB / 441.4 MB, free: 5.324 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.000106/0.3207, allocations: 110.2 kB / 441.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.3212, allocations: 284.5 kB / 441.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3212, allocations: 0 / 441.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.3215, allocations: 209.7 kB / 442 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3219, allocations: 43.92 kB / 442.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3229, allocations: 0.713 MB / 442.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.3231, allocations: 0.7466 MB / 443.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.3232, allocations: 20.55 kB / 443.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3232, allocations: 2.625 kB / 443.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of Templates: time 0.00621/0.3294, allocations: 3.528 MB / 447.1 MB, free: 3.395 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.402765376958996]