Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.0009917/0.0009917, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002629, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00102/0.00102, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002446, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9348/0.9348, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08273/1.018, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.535e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004043/0.004069, allocations: 2.429 MB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.005254, allocations: 0.654 MB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.005414, allocations: 11.94 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.005515, allocations: 43.58 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.005651, allocations: 83.2 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.005792, allocations: 67.84 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.006014, allocations: 282.5 kB / 248.8 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.006145, allocations: 74.5 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.006372, allocations: 187.5 kB / 249 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.00649, allocations: 83.78 kB / 249.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.006519, allocations: 20 kB / 249.1 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.006587, allocations: 27.94 kB / 249.1 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.006618, allocations: 39.81 kB / 249.2 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.006672, allocations: 71.88 kB / 249.3 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.006882, allocations: 175.3 kB / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.006894, allocations: 0 / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.006895, allocations: 0 / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.006903, allocations: 0 / 249.4 MB, free: 9.285 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005184/0.007421, allocations: 491.9 kB / 249.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.007451, allocations: 8.031 kB / 249.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.007598, allocations: 122 kB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.007775, allocations: 174 kB / 250.2 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.007788, allocations: 12.88 kB / 250.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.007818, allocations: 24.38 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.007979, allocations: 149.3 kB / 250.4 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.007995, allocations: 16.09 kB / 250.4 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.00801, allocations: 16.38 kB / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.00802, allocations: 7.938 kB / 250.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.008097, allocations: 55.47 kB / 250.5 MB, free: 8.152 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.008563, allocations: 390.1 kB / 250.9 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.008698, allocations: 118.4 kB / 251 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.008749, allocations: 56.83 kB / 251 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.008765, allocations: 4 kB / 251 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.008785, allocations: 30.56 kB / 251.1 MB, free: 7.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.744e-06/0.008787, allocations: 4 kB / 251.1 MB, free: 7.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001018/0.009805, allocations: 0.7254 MB / 251.8 MB, free: 6.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.009834, allocations: 63.33 kB / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.009918, allocations: 159.4 kB / 252 MB, free: 6.508 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.009933, allocations: 33.7 kB / 252 MB, free: 6.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.009989, allocations: 128.8 kB / 252.2 MB, free: 6.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.01004, allocations: 126.9 kB / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.01009, allocations: 57.58 kB / 252.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.01017, allocations: 334.8 kB / 252.7 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.0102, allocations: 27.98 kB / 252.7 MB, free: 5.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.01026, allocations: 62.56 kB / 252.8 MB, free: 5.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.875e-05/0.01036, allocations: 120 kB / 252.9 MB, free: 5.594 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.01036, allocations: 0 / 252.9 MB, free: 5.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001707/0.01053, allocations: 175.3 kB / 253.1 MB, free: 5.414 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.01054, allocations: 4 kB / 253.1 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01055, allocations: 0 / 253.1 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.01065, allocations: 44.83 kB / 253.1 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.01082, allocations: 71.89 kB / 253.2 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007554/0.01157, allocations: 1.431 MB / 254.6 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.01162, allocations: 12.02 kB / 254.6 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01163, allocations: 12 kB / 254.6 MB, free: 3.754 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.0117, allocations: 125.7 kB / 254.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.01173, allocations: 23.98 kB / 254.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.01176, allocations: 30.64 kB / 254.8 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01176, allocations: 4 kB / 254.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01176, allocations: 0 / 254.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01177, allocations: 0 / 254.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.01222, allocations: 0.5048 MB / 255.3 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01222, allocations: 0 / 255.3 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.01237, allocations: 62.92 kB / 255.4 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.01239, allocations: 15.91 kB / 255.4 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.545e-05/0.01245, allocations: 32.83 kB / 255.4 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01246, allocations: 8.031 kB / 255.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005593/0.01302, allocations: 1.241 MB / 256.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01302, allocations: 4 kB / 256.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.01327, allocations: 330.8 kB / 257 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.01328, allocations: 11.98 kB / 257 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.01334, allocations: 15.97 kB / 257 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.01338, allocations: 23.95 kB / 257 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.01339, allocations: 4 kB / 257.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.01342, allocations: 36.83 kB / 257.1 MB, free: 1.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01342, allocations: 4 kB / 257.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.01361, allocations: 64 kB / 257.2 MB, free: 1.047 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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 8.57e-05/0.0137, allocations: 84.34 kB / 257.2 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.01396, allocations: 267.9 kB / 257.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.01397, allocations: 8 kB / 257.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.01412, allocations: 220.2 kB / 257.7 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.01445, allocations: 425.3 kB / 258.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.0177, allocations: 0.5436 MB / 258.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.187e-05/0.01775, allocations: 96.92 kB / 258.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.748e-05/0.01781, allocations: 26.36 kB / 258.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.0179, allocations: 91.36 kB / 258.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0179, allocations: 3.938 kB / 258.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Templates: time 0.004663/0.02257, allocations: 3.1 MB / 262 MB, free: 12.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3754500411450863]