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.001174/0.001174, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001158/0.001158, allocations: 165 kB / 25.6 MB, free: 8.91 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.8685/0.8685, allocations: 158.6 MB / 187.5 MB, free: 2.77 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.874e-06/1.874e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.669e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002803/0.00283, allocations: 2.365 MB / 253.8 MB, free: 4.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.003737, allocations: 0.6086 MB / 254.4 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.003858, allocations: 7.938 kB / 254.4 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.003978, allocations: 35.66 kB / 254.5 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.0041, allocations: 71.3 kB / 254.5 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.004276, allocations: 59.86 kB / 254.6 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.004489, allocations: 274.6 kB / 254.9 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.004621, allocations: 48.56 kB / 254.9 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.00482, allocations: 159.6 kB / 255.1 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.004926, allocations: 79.78 kB / 255.2 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.004954, allocations: 24 kB / 255.2 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.00498, allocations: 16 kB / 255.2 MB, free: 3.496 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.005013, allocations: 43.83 kB / 255.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.005079, allocations: 87.75 kB / 255.3 MB, free: 3.367 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.005269, allocations: 163.4 kB / 255.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005272, allocations: 0 / 255.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005273, allocations: 0 / 255.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.005276, allocations: 0 / 255.5 MB, free: 3.207 MB / 234.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.0004735/0.00575, allocations: 0.5389 MB / 256 MB, free: 2.633 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.005788, allocations: 19.98 kB / 256 MB, free: 2.613 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.005838, allocations: 40.8 kB / 256.1 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.006012, allocations: 180.9 kB / 256.3 MB, free: 2.371 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.006025, allocations: 16.88 kB / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.006055, allocations: 20.38 kB / 256.3 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.006244, allocations: 185.6 kB / 256.5 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006255, allocations: 192 / 256.5 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.006269, allocations: 12.38 kB / 256.5 MB, free: 2.121 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.006276, allocations: 7.938 kB / 256.5 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.872e-05/0.006345, allocations: 63.42 kB / 256.6 MB, free: 2.055 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.006931, allocations: 0.6456 MB / 257.2 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.007062, allocations: 114.9 kB / 257.3 MB, free: 1.246 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.007102, allocations: 35.67 kB / 257.3 MB, free: 1.207 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.007119, allocations: 4 kB / 257.3 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.007139, allocations: 37.39 kB / 257.4 MB, free: 1.156 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 9.72e-07/0.00714, allocations: 4 kB / 257.4 MB, free: 1.152 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007332/0.007873, allocations: 0.579 MB / 258 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.007913, allocations: 59.34 kB / 258 MB, free: 448 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.008029, allocations: 213.8 kB / 258.2 MB, free: 216 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.008042, allocations: 29.7 kB / 258.3 MB, free: 180 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.008135, allocations: 195.1 kB / 258.5 MB, free: 15.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.008182, allocations: 91.16 kB / 258.5 MB, free: 15.89 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.008236, allocations: 51.34 kB / 258.6 MB, free: 15.83 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.008366, allocations: 0.5078 MB / 259.1 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.008401, allocations: 23.97 kB / 259.1 MB, free: 15.29 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.00846, allocations: 86.36 kB / 259.2 MB, free: 15.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.008569, allocations: 122.3 kB / 259.3 MB, free: 15.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.00857, allocations: 0 / 259.3 MB, free: 15.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001936/0.008764, allocations: 185 kB / 259.5 MB, free: 14.85 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.008776, allocations: 4 kB / 259.5 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.00878, allocations: 128 / 259.5 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001005/0.008881, allocations: 43.59 kB / 259.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.008999, allocations: 51.91 kB / 259.6 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009907/0.00999, allocations: 1.78 MB / 261.4 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.01005, allocations: 12 kB / 261.4 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01006, allocations: 12.02 kB / 261.4 MB, free: 12.82 MB / 250.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 8.865e-05/0.01015, allocations: 168.5 kB / 261.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.01018, allocations: 31.84 kB / 261.6 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.01021, allocations: 17.97 kB / 261.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01021, allocations: 7.938 kB / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01021, allocations: 0 / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01022, allocations: 3.984 kB / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.01067, allocations: 0.5428 MB / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01067, allocations: 0 / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.01077, allocations: 39.98 kB / 262.2 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-05/0.01085, allocations: 31.66 kB / 262.2 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01086, allocations: 8 kB / 262.3 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007329/0.01159, allocations: 1.784 MB / 264 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01159, allocations: 0 / 264 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.01186, allocations: 383.2 kB / 264.4 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.01188, allocations: 11.91 kB / 264.4 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.01189, allocations: 8 kB / 264.4 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.01195, allocations: 7.984 kB / 264.4 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.01198, allocations: 19.91 kB / 264.5 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01199, allocations: 8 kB / 264.5 MB, free: 9.555 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.326e-05/0.01204, allocations: 160.2 kB / 264.6 MB, free: 9.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01204, allocations: 0 / 264.6 MB, free: 9.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.01225, allocations: 60 kB / 264.7 MB, free: 9.34 MB / 250.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 8.617e-05/0.01233, allocations: 99.19 kB / 264.8 MB, free: 9.234 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.01258, allocations: 292.5 kB / 265.1 MB, free: 8.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01258, allocations: 0 / 265.1 MB, free: 8.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.01273, allocations: 261.5 kB / 265.3 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01299, allocations: 56.75 kB / 265.4 MB, free: 8.602 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.01384, allocations: 0.5682 MB / 265.9 MB, free: 7.992 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.0139, allocations: 88.25 kB / 266 MB, free: 7.887 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.711e-05/0.01396, allocations: 21.94 kB / 266.1 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.01404, allocations: 110.2 kB / 266.2 MB, free: 7.754 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01405, allocations: 0 / 266.2 MB, free: 7.754 MB / 250.7 MB Notification: Performance of Templates: time 0.004634/0.01868, allocations: 2.679 MB / 268.8 MB, free: 5.102 MB / 250.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.580365400761366]