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.001895/0.001895, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002216/0.002216, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 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.494/1.494, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 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.674e-06/1.674e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.016e-05, allocations: 6.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004121/0.004152, allocations: 2.242 MB / 269.6 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.005262, allocations: 0.5609 MB / 270.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.00537, allocations: 8 kB / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.005522, allocations: 31.59 kB / 270.2 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.005692, allocations: 79.28 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.005923, allocations: 51.91 kB / 270.3 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.006282, allocations: 282.5 kB / 270.6 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.00645, allocations: 52.52 kB / 270.6 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.006703, allocations: 155.6 kB / 270.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.006855, allocations: 79.7 kB / 270.8 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.006909, allocations: 20 kB / 270.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.006952, allocations: 20 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.007007, allocations: 47.77 kB / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.007121, allocations: 79.83 kB / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.007476, allocations: 243.2 kB / 271.2 MB, free: 2.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.007479, allocations: 3.938 kB / 271.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00748, allocations: 4 kB / 271.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.007486, allocations: 0 / 271.2 MB, free: 2.762 MB / 250.7 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.0008106/0.008297, allocations: 445.8 kB / 271.7 MB, free: 2.297 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.008337, allocations: 11.97 kB / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.008436, allocations: 44.75 kB / 271.7 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.00876, allocations: 178.1 kB / 271.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.008785, allocations: 12.88 kB / 271.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.008849, allocations: 24.33 kB / 271.9 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.009278, allocations: 219.3 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.009294, allocations: 192 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.009318, allocations: 8.375 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.009329, allocations: 11.94 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.009614, allocations: 129.8 kB / 272.3 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.01089, allocations: 0.5885 MB / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.01117, allocations: 134.2 kB / 273 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.01133, allocations: 72.77 kB / 273.1 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.01135, allocations: 4 kB / 273.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.01139, allocations: 34.56 kB / 273.1 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.01139, allocations: 0 / 273.1 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001808/0.0132, allocations: 0.7386 MB / 273.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.01326, allocations: 59.41 kB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.01347, allocations: 170.3 kB / 274.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.01349, allocations: 25.7 kB / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.01362, allocations: 152.3 kB / 274.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.01373, allocations: 87.22 kB / 274.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.01382, allocations: 49.69 kB / 274.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.01403, allocations: 338.8 kB / 274.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.01416, allocations: 51.97 kB / 274.8 MB, free: 15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.01434, allocations: 100.2 kB / 274.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.01468, allocations: 168.9 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01468, allocations: 0 / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005327/0.01521, allocations: 262.1 kB / 275.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.01523, allocations: 7.938 kB / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01524, allocations: 3.938 kB / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.01545, allocations: 44.95 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.01568, allocations: 47.92 kB / 275.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.0174, allocations: 1.351 MB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01752, allocations: 11.98 kB / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.01754, allocations: 12 kB / 276.8 MB, free: 12.86 MB / 266.7 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.0001613/0.0177, allocations: 137.8 kB / 276.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.01776, allocations: 31.86 kB / 276.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.01782, allocations: 21.97 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01782, allocations: 4 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01783, allocations: 0 / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01783, allocations: 3.984 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009671/0.0188, allocations: 0.5582 MB / 277.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.0188, allocations: 0 / 277.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.01902, allocations: 47.91 kB / 277.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.01916, allocations: 36.77 kB / 277.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01918, allocations: 8 kB / 277.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.02058, allocations: 1.366 MB / 279 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.02058, allocations: 0 / 279 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006653/0.02124, allocations: 402.2 kB / 279.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.02127, allocations: 19.86 kB / 279.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.0213, allocations: 7.938 kB / 279.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.02143, allocations: 12.03 kB / 279.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.02151, allocations: 23.91 kB / 279.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.02152, allocations: 8.062 kB / 279.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.02164, allocations: 120.2 kB / 279.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02164, allocations: 4 kB / 279.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000339/0.02198, allocations: 56 kB / 279.6 MB, free: 9.809 MB / 266.7 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.0001379/0.02211, allocations: 99.25 kB / 279.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.02274, allocations: 278.6 kB / 280 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02274, allocations: 4.062 kB / 280 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.02309, allocations: 210.5 kB / 280.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.02353, allocations: 37.95 kB / 280.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.02475, allocations: 0.6 MB / 280.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.02491, allocations: 138.2 kB / 281 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.575e-05/0.02499, allocations: 17.94 kB / 281 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.02504, allocations: 20.5 kB / 281 MB, free: 8.332 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02504, allocations: 4 kB / 281 MB, free: 8.328 MB / 266.7 MB Notification: Performance of Templates: time 0.00694/0.03198, allocations: 2.481 MB / 283.5 MB, free: 5.887 MB / 266.7 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.368830773048103]