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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009534/0.0009534, allocations: 164.2 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9236/0.9236, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.297e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002618/0.002641, allocations: 2.225 MB / 301.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009061/0.003547, allocations: 0.5969 MB / 302.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.003677, allocations: 7.938 kB / 302.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.003824, allocations: 35.59 kB / 302.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003945, allocations: 71.34 kB / 302.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.004174, allocations: 67.84 kB / 302.7 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.004432, allocations: 262.6 kB / 302.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.004591, allocations: 60.5 kB / 303 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.004788, allocations: 155.6 kB / 303.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.004896, allocations: 71.8 kB / 303.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.004933, allocations: 19.94 kB / 303.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.238e-05/0.004955, allocations: 20 kB / 303.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.004991, allocations: 47.81 kB / 303.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.005053, allocations: 79.83 kB / 303.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.005294, allocations: 255.1 kB / 303.6 MB, free: 2.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005297, allocations: 4 kB / 303.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.49e-06/0.005302, allocations: 0 / 303.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.005308, allocations: 0 / 303.6 MB, free: 2.949 MB / 282.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.0005212/0.005829, allocations: 449.6 kB / 304.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.005874, allocations: 19.92 kB / 304.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.005915, allocations: 24.8 kB / 304.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.006133, allocations: 178 kB / 304.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.006147, allocations: 20.88 kB / 304.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.006185, allocations: 24.38 kB / 304.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.006448, allocations: 211.4 kB / 304.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.006463, allocations: 192 / 304.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.006481, allocations: 12.31 kB / 304.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.006492, allocations: 7.938 kB / 304.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.006658, allocations: 125.9 kB / 304.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.007305, allocations: 0.5924 MB / 305.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.007505, allocations: 150.4 kB / 305.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.007585, allocations: 64.83 kB / 305.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.007603, allocations: 0 / 305.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.007623, allocations: 38.56 kB / 305.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 9.32e-07/0.007623, allocations: 0 / 305.5 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001037/0.008661, allocations: 0.7238 MB / 306.3 MB, free: 160 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.0087, allocations: 59.39 kB / 306.3 MB, free: 88 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.00884, allocations: 170.3 kB / 306.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.008854, allocations: 25.7 kB / 306.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.008929, allocations: 148.3 kB / 306.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.008976, allocations: 91.27 kB / 306.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.009027, allocations: 45.7 kB / 306.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.009117, allocations: 330.8 kB / 307.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.009194, allocations: 59.91 kB / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.009297, allocations: 104.2 kB / 307.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.009475, allocations: 164.2 kB / 307.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.009476, allocations: 0 / 307.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002819/0.009758, allocations: 254.1 kB / 307.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.009772, allocations: 12.06 kB / 307.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.009779, allocations: 4 kB / 307.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.009908, allocations: 32.83 kB / 307.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.01004, allocations: 51.91 kB / 307.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008457/0.01089, allocations: 1.347 MB / 309.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.01095, allocations: 8.031 kB / 309.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.01096, allocations: 12.06 kB / 309.1 MB, free: 13.07 MB / 298.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.0001031/0.01107, allocations: 141.7 kB / 309.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.01109, allocations: 19.91 kB / 309.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.01112, allocations: 25.95 kB / 309.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01112, allocations: 0 / 309.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01112, allocations: 0 / 309.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.01113, allocations: 4 kB / 309.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.01167, allocations: 0.5737 MB / 309.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01168, allocations: 0 / 309.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.01179, allocations: 43.92 kB / 309.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.01186, allocations: 36.77 kB / 310 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01187, allocations: 4 kB / 310 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007101/0.01258, allocations: 1.355 MB / 311.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01258, allocations: 0 / 311.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.01294, allocations: 402.2 kB / 311.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.01296, allocations: 15.91 kB / 311.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.01298, allocations: 7.938 kB / 311.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.01303, allocations: 12.03 kB / 311.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.01308, allocations: 15.97 kB / 311.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01309, allocations: 8 kB / 311.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.038e-05/0.01316, allocations: 128.3 kB / 311.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01316, allocations: 0 / 311.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.01336, allocations: 60 kB / 312 MB, free: 10.05 MB / 298.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 9.651e-05/0.01346, allocations: 107.2 kB / 312.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.01385, allocations: 286.4 kB / 312.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01385, allocations: 256 / 312.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.01401, allocations: 218.4 kB / 312.6 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.01428, allocations: 39.92 kB / 312.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.01502, allocations: 0.5916 MB / 313.2 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.01511, allocations: 142.5 kB / 313.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.01515, allocations: 16.5 kB / 313.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01515, allocations: 4 kB / 313.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of Templates: time 0.003763/0.01892, allocations: 3.589 MB / 317 MB, free: 4.969 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.499819507822394]