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.001323/0.001323, allocations: 82.61 kB / 21.99 MB, free: 4.758 MB / 14.72 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.001418/0.001418, allocations: 153.4 kB / 25.25 MB, free: 2.742 MB / 14.72 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 1.36/1.36, allocations: 158.6 MB / 187 MB, free: 6.258 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 59.92 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1945, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003676/0.1982, allocations: 2.222 MB / 350.7 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1993, allocations: 0.5964 MB / 351.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1994, allocations: 7.938 kB / 351.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1995, allocations: 35.66 kB / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.1997, allocations: 79.33 kB / 351.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1999, allocations: 51.94 kB / 351.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.2002, allocations: 258.8 kB / 351.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2003, allocations: 64.5 kB / 351.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.2005, allocations: 103.6 kB / 351.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2007, allocations: 91.55 kB / 352 MB, free: 12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.2007, allocations: 20 kB / 352 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.2007, allocations: 24 kB / 352 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.2008, allocations: 47.77 kB / 352.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2009, allocations: 99.53 kB / 352.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.2012, allocations: 249.6 kB / 352.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2012, allocations: 0 / 352.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2012, allocations: 0 / 352.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2012, allocations: 0 / 352.4 MB, free: 11.57 MB / 318.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.000725/0.202, allocations: 449.6 kB / 352.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.202, allocations: 19.98 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.202, allocations: 32.73 kB / 352.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.2023, allocations: 174.8 kB / 353.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2024, allocations: 16.88 kB / 353.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.2024, allocations: 28.36 kB / 353.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.2028, allocations: 207.1 kB / 353.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2028, allocations: 7.938 kB / 353.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2028, allocations: 8 kB / 353.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2028, allocations: 4 kB / 353.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.2031, allocations: 133.9 kB / 353.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/0.2041, allocations: 0.5846 MB / 354.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.2044, allocations: 134.5 kB / 354.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2045, allocations: 64.78 kB / 354.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2045, allocations: 3.984 kB / 354.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.2046, allocations: 42.55 kB / 354.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.2046, allocations: 0 / 354.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001592/0.2061, allocations: 0.7351 MB / 355 MB, free: 8.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.2062, allocations: 59.34 kB / 355.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2064, allocations: 166.3 kB / 355.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.2064, allocations: 25.7 kB / 355.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2065, allocations: 148.4 kB / 355.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.2066, allocations: 87.22 kB / 355.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.2066, allocations: 49.7 kB / 355.6 MB, free: 8.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2068, allocations: 330.8 kB / 355.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.2069, allocations: 55.97 kB / 355.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.2071, allocations: 100.2 kB / 356 MB, free: 7.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2074, allocations: 172.1 kB / 356.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2074, allocations: 0 / 356.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004639/0.2078, allocations: 250.1 kB / 356.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2078, allocations: 4 kB / 356.5 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2079, allocations: 7.984 kB / 356.5 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.208, allocations: 28.84 kB / 356.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.2082, allocations: 55.91 kB / 356.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2095, allocations: 1.347 MB / 357.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2096, allocations: 11.97 kB / 357.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2097, allocations: 15.94 kB / 357.9 MB, free: 5.695 MB / 318.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.0001452/0.2098, allocations: 133.8 kB / 358.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.2098, allocations: 24 kB / 358.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.2099, allocations: 29.94 kB / 358.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2099, allocations: 0 / 358.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2099, allocations: 12.06 kB / 358.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2099, allocations: 3.938 kB / 358.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008927/0.2108, allocations: 0.5659 MB / 358.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2108, allocations: 0 / 358.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.211, allocations: 51.86 kB / 358.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.2111, allocations: 32.83 kB / 358.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.2112, allocations: 12.06 kB / 358.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.2124, allocations: 1.347 MB / 360.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2124, allocations: 7.969 kB / 360.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.213, allocations: 398.2 kB / 360.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.213, allocations: 15.84 kB / 360.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.213, allocations: 8.109 kB / 360.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2132, allocations: 7.984 kB / 360.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2132, allocations: 19.97 kB / 360.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2132, allocations: 4 kB / 360.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.2133, allocations: 128.2 kB / 360.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2133, allocations: 0 / 360.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.2136, allocations: 56 kB / 360.8 MB, free: 2.664 MB / 318.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.0001083/0.2138, allocations: 111.3 kB / 360.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.2143, allocations: 294.4 kB / 361.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2143, allocations: 3.938 kB / 361.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.2146, allocations: 206.6 kB / 361.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.215, allocations: 41.55 kB / 361.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2162, allocations: 0.6696 MB / 362.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.2163, allocations: 138.5 kB / 362.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.719e-05/0.2164, allocations: 21.95 kB / 362.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.2164, allocations: 20.5 kB / 362.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2164, allocations: 3.938 kB / 362.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of Templates: time 0.006174/0.2226, allocations: 2.442 MB / 364.7 MB, free: 14.63 MB / 334.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/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.246715200017206]