Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.689e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003348/0.003375, allocations: 2.223 MB / 321.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.004477, allocations: 0.5492 MB / 321.7 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.004745, allocations: 11.34 kB / 321.7 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.004948, allocations: 41.31 kB / 321.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.005229, allocations: 78.17 kB / 321.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.00553, allocations: 54.62 kB / 321.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.005875, allocations: 269 kB / 322.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.006052, allocations: 66.08 kB / 322.2 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.006379, allocations: 151.7 kB / 322.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.006635, allocations: 80.58 kB / 322.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.006699, allocations: 18.88 kB / 322.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.006757, allocations: 19.62 kB / 322.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.006802, allocations: 45.55 kB / 322.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.006928, allocations: 75.22 kB / 322.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.007336, allocations: 259 kB / 322.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.007339, allocations: 4.5 kB / 322.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00734, allocations: 2.594 kB / 322.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.007349, allocations: 0 / 322.8 MB, free: 1.117 MB / 286.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.0008128/0.008162, allocations: 446.2 kB / 323.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.008197, allocations: 9.5 kB / 323.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.00826, allocations: 28.8 kB / 323.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.008549, allocations: 176.2 kB / 323.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.008569, allocations: 13.5 kB / 323.5 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.008614, allocations: 30.17 kB / 323.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.009022, allocations: 209.3 kB / 323.7 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.009045, allocations: 1.25 kB / 323.7 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.009068, allocations: 10.84 kB / 323.7 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.009082, allocations: 13.2 kB / 323.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.009363, allocations: 122.2 kB / 323.9 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01039, allocations: 0.5885 MB / 324.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.01072, allocations: 131.8 kB / 324.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.01086, allocations: 69.55 kB / 324.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.01089, allocations: 1.375 kB / 324.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.01093, allocations: 41.95 kB / 324.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.01093, allocations: 4 kB / 324.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001831/0.01276, allocations: 0.7349 MB / 325.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.01282, allocations: 61.36 kB / 325.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.01306, allocations: 178.5 kB / 325.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.01309, allocations: 31.33 kB / 325.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01321, allocations: 144.3 kB / 325.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.454e-05/0.0133, allocations: 95.38 kB / 325.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.01339, allocations: 46.64 kB / 326 MB, free: 14.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.01358, allocations: 332.9 kB / 326.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.01374, allocations: 58.64 kB / 326.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.01393, allocations: 94.3 kB / 326.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.01428, allocations: 170.5 kB / 326.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01428, allocations: 4 kB / 326.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005147/0.01479, allocations: 245.7 kB / 326.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.01482, allocations: 11 kB / 326.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01483, allocations: 1.375 kB / 326.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.01501, allocations: 32.12 kB / 326.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.01526, allocations: 53.55 kB / 327 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.01671, allocations: 1.344 MB / 328.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.01685, allocations: 9.25 kB / 328.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.01687, allocations: 7.656 kB / 328.3 MB, free: 12.94 MB / 302.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.0001618/0.01703, allocations: 139.9 kB / 328.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.01708, allocations: 21.3 kB / 328.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.01714, allocations: 35.56 kB / 328.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.01715, allocations: 6.266 kB / 328.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.01716, allocations: 1.031 kB / 328.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.01716, allocations: 2.484 kB / 328.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.01817, allocations: 0.5523 MB / 329.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01818, allocations: 1.969 kB / 329.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.0184, allocations: 44.86 kB / 329.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.01853, allocations: 43.41 kB / 329.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.01855, allocations: 10.55 kB / 329.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.01987, allocations: 1.35 MB / 330.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.01988, allocations: 5.203 kB / 330.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.02054, allocations: 401.8 kB / 330.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.02058, allocations: 18.83 kB / 330.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.02061, allocations: 13.94 kB / 331 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.02074, allocations: 9.203 kB / 331 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.02081, allocations: 24.05 kB / 331 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.02082, allocations: 5.922 kB / 331 MB, free: 10.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.02094, allocations: 121 kB / 331.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02094, allocations: 0 / 331.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.0213, allocations: 57.97 kB / 331.2 MB, free: 10.64 MB / 302.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.0001406/0.02144, allocations: 104.7 kB / 331.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005954/0.02204, allocations: 278.8 kB / 331.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02204, allocations: 0 / 331.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.02238, allocations: 210.7 kB / 331.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.02285, allocations: 45.67 kB / 331.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.02409, allocations: 0.5834 MB / 332.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.02426, allocations: 139.1 kB / 332.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.713e-05/0.02435, allocations: 16.95 kB / 332.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.02441, allocations: 19.97 kB / 332.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.02441, allocations: 0 / 332.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of Templates: time 0.007149/0.03156, allocations: 2.45 MB / 335 MB, free: 9.023 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.254970960319042]