Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001684/0.001684, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.002451/0.002451, allocations: 205.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 258.1 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 75.88 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3257, allocations: 53.42 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003929/0.3296, allocations: 2.24 MB / 434.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3308, allocations: 0.6232 MB / 435.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3309, allocations: 7.938 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.331, allocations: 35.66 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.3312, allocations: 75.33 kB / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3315, allocations: 63.88 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.3318, allocations: 262.8 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.332, allocations: 60.33 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3322, allocations: 111.6 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3323, allocations: 95.53 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.3324, allocations: 20 kB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.3324, allocations: 24 kB / 436 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.3325, allocations: 51.78 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3326, allocations: 95.53 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.3329, allocations: 253.8 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3329, allocations: 8 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3329, allocations: 0 / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3329, allocations: 0 / 436.4 MB, free: 2.512 MB / 334.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.0007292/0.3337, allocations: 441.6 kB / 436.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3337, allocations: 15.98 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3339, allocations: 36.78 kB / 436.9 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.3342, allocations: 190.7 kB / 437.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3342, allocations: 20.81 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.3343, allocations: 20.36 kB / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.3346, allocations: 210.2 kB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3347, allocations: 7.938 kB / 437.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.3347, allocations: 12 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3347, allocations: 4 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.335, allocations: 129.6 kB / 437.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000972/0.3359, allocations: 0.5999 MB / 438.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.3362, allocations: 134.5 kB / 438.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3363, allocations: 64.83 kB / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3364, allocations: 0 / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.3364, allocations: 42.48 kB / 438.3 MB, free: 500 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 9.42e-07/0.3364, allocations: 0 / 438.3 MB, free: 500 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001594/0.338, allocations: 0.7376 MB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.338, allocations: 59.34 kB / 439.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3382, allocations: 170.4 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3382, allocations: 25.7 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3384, allocations: 152.3 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.3384, allocations: 91.2 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.518e-05/0.3385, allocations: 53.64 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3387, allocations: 330.8 kB / 439.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3388, allocations: 47.98 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.339, allocations: 113.2 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.3393, allocations: 168.8 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3393, allocations: 0 / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005034/0.3398, allocations: 254.1 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3398, allocations: 12.12 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3398, allocations: 0 / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.34, allocations: 28.84 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3402, allocations: 51.91 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.3416, allocations: 1.351 MB / 441.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3418, allocations: 11.94 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.3418, allocations: 12.06 kB / 441.9 MB, free: 12.61 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 0.000146/0.3419, allocations: 133.8 kB / 442.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.342, allocations: 19.86 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.342, allocations: 29.95 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.342, allocations: 4 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.342, allocations: 0 / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.342, allocations: 3.938 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/0.3429, allocations: 0.5541 MB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3429, allocations: 4 kB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.3431, allocations: 47.92 kB / 442.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.3433, allocations: 32.83 kB / 442.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3433, allocations: 8 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.3445, allocations: 1.355 MB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3445, allocations: 3.938 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.3451, allocations: 394.2 kB / 444.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.3451, allocations: 27.83 kB / 444.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3452, allocations: 4 kB / 444.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3453, allocations: 8 kB / 444.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.3453, allocations: 19.97 kB / 444.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3454, allocations: 4.062 kB / 444.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3455, allocations: 127.2 kB / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3455, allocations: 0 / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.3458, allocations: 63.94 kB / 444.7 MB, free: 9.59 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.0001288/0.3459, allocations: 103.2 kB / 444.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.3465, allocations: 286.5 kB / 445.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3465, allocations: 8 kB / 445.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.3468, allocations: 210.5 kB / 445.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3472, allocations: 35.97 kB / 445.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3485, allocations: 0.7147 MB / 446.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.3486, allocations: 138.5 kB / 446.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.3487, allocations: 19.44 kB / 446.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3487, allocations: 0 / 446.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Templates: time 0.006676/0.3554, allocations: 3.605 MB / 449.9 MB, free: 4.395 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.704071532934904]