Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 106.5 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 192.7 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 51.92 kB / 345.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3735, allocations: 49.13 MB / 394.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004176/0.3776, allocations: 2.348 MB / 397.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3787, allocations: 0.6322 MB / 397.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.3789, allocations: 7.688 kB / 397.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.379, allocations: 36.22 kB / 398 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.3792, allocations: 79.34 kB / 398 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.3794, allocations: 50.02 kB / 398.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.3798, allocations: 257 kB / 398.3 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.38, allocations: 70.31 kB / 398.4 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3802, allocations: 100.7 kB / 398.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.3805, allocations: 107.9 kB / 398.6 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.3805, allocations: 18.97 kB / 398.6 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.3806, allocations: 19.03 kB / 398.6 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.3806, allocations: 48.3 kB / 398.7 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3807, allocations: 123.8 kB / 398.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.3812, allocations: 245.8 kB / 399 MB, free: 6.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3812, allocations: 0 / 399 MB, free: 6.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3812, allocations: 0 / 399 MB, free: 6.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.3812, allocations: 1.094 kB / 399 MB, free: 6.73 MB / 318.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.0007984/0.382, allocations: 0.5145 MB / 399.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.382, allocations: 12.39 kB / 399.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.3821, allocations: 29.17 kB / 399.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3824, allocations: 243.7 kB / 399.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3825, allocations: 17.5 kB / 399.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.3825, allocations: 22.55 kB / 399.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.3829, allocations: 211.2 kB / 400.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.383, allocations: 5.359 kB / 400.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.383, allocations: 7.109 kB / 400.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.383, allocations: 5.562 kB / 400.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3833, allocations: 132.7 kB / 400.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3845, allocations: 0.6982 MB / 400.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3848, allocations: 133.7 kB / 401.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3849, allocations: 68.67 kB / 401.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.385, allocations: 6.219 kB / 401.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.385, allocations: 40.33 kB / 401.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.385, allocations: 0 / 401.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001676/0.3867, allocations: 0.9001 MB / 402.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.3867, allocations: 55.41 kB / 402.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3869, allocations: 171.2 kB / 402.3 MB, free: 4.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3869, allocations: 31.05 kB / 402.3 MB, free: 4.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.387, allocations: 147 kB / 402.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.3871, allocations: 93.08 kB / 402.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.3871, allocations: 50.2 kB / 402.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.3872, allocations: 329.4 kB / 402.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3874, allocations: 54.19 kB / 403 MB, free: 3.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3875, allocations: 105.3 kB / 403.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.3878, allocations: 168.2 kB / 403.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3878, allocations: 1.031 kB / 403.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000486/0.3883, allocations: 249.1 kB / 403.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3883, allocations: 11.33 kB / 403.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3883, allocations: 1.219 kB / 403.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.3885, allocations: 36.52 kB / 403.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3887, allocations: 48.58 kB / 403.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.3898, allocations: 1.484 MB / 405.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3899, allocations: 9.531 kB / 405.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3899, allocations: 8.375 kB / 405.1 MB, free: 1.918 MB / 318.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.0001145/0.39, allocations: 138.7 kB / 405.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.3901, allocations: 21.77 kB / 405.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.3901, allocations: 22.45 kB / 405.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3902, allocations: 7.172 kB / 405.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3902, allocations: 1.125 kB / 405.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3902, allocations: 2.109 kB / 405.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/0.3911, allocations: 0.642 MB / 405.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.3911, allocations: 1.312 kB / 405.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.3913, allocations: 49.52 kB / 406 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.3914, allocations: 35.2 kB / 406 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3915, allocations: 6.719 kB / 406 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3926, allocations: 1.486 MB / 407.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3926, allocations: 1.062 kB / 407.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.3933, allocations: 412.3 kB / 407.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.3933, allocations: 97.19 kB / 408 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3934, allocations: 5.844 kB / 408 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.3935, allocations: 11.78 kB / 408 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3935, allocations: 24.22 kB / 408 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3936, allocations: 5.344 kB / 408 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.3937, allocations: 137.9 kB / 408.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3937, allocations: 0 / 408.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.394, allocations: 58.62 kB / 408.2 MB, free: 15.28 MB / 334.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.0001422/0.3942, allocations: 105.6 kB / 408.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006277/0.3948, allocations: 277 kB / 408.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3948, allocations: 0 / 408.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.3952, allocations: 208.5 kB / 408.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3956, allocations: 46.36 kB / 408.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3971, allocations: 0.7101 MB / 409.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3976, allocations: 0.7468 MB / 410.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.3976, allocations: 24.31 kB / 410.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3976, allocations: 4 kB / 410.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Templates: time 0.007736/0.4053, allocations: 3.494 MB / 413.8 MB, free: 12.48 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches