Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.002133/0.002133, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002728/0.002728, allocations: 166.5 kB / 25.02 MB, free: 8.945 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 1.452/1.452, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 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.First,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.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_3.2.3_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.837e-05, allocations: 2.312 kB / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.007336/0.007374, allocations: 2.24 MB / 252.6 MB, free: 5.594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.009551, allocations: 0.6046 MB / 253.2 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.009771, allocations: 7.938 kB / 253.2 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.01004, allocations: 35.59 kB / 253.2 MB, free: 4.938 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.01046, allocations: 83.28 kB / 253.3 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.01085, allocations: 59.84 kB / 253.4 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007595/0.0116, allocations: 282.5 kB / 253.6 MB, free: 4.52 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.01193, allocations: 71.23 kB / 253.7 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005422/0.01248, allocations: 159.7 kB / 253.9 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.01276, allocations: 83.7 kB / 254 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.01284, allocations: 20 kB / 254 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.01292, allocations: 24 kB / 254 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.01301, allocations: 43.83 kB / 254 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.01323, allocations: 87.77 kB / 254.1 MB, free: 4.039 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.01387, allocations: 271 kB / 254.4 MB, free: 3.773 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01388, allocations: 0 / 254.4 MB, free: 3.773 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01388, allocations: 0 / 254.4 MB, free: 3.773 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.01389, allocations: 0 / 254.4 MB, free: 3.773 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001374/0.01526, allocations: 457.6 kB / 254.8 MB, free: 3.297 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.01532, allocations: 15.97 kB / 254.9 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.01549, allocations: 44.75 kB / 254.9 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.0161, allocations: 186.1 kB / 255.1 MB, free: 3.031 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.01615, allocations: 20.88 kB / 255.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.01622, allocations: 20.38 kB / 255.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.01707, allocations: 196.7 kB / 255.3 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.01711, allocations: 8.141 kB / 255.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.01714, allocations: 4.375 kB / 255.3 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.01716, allocations: 11.92 kB / 255.3 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.01772, allocations: 141.9 kB / 255.5 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.01946, allocations: 0.5099 MB / 256 MB, free: 2.082 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.02007, allocations: 162.5 kB / 256.1 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.02041, allocations: 88.81 kB / 256.2 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.02045, allocations: 4 kB / 256.2 MB, free: 1.82 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/0.02051, allocations: 38.56 kB / 256.3 MB, free: 1.773 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.02051, allocations: 0 / 256.3 MB, free: 1.773 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.00368/0.02419, allocations: 0.922 MB / 257.2 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.02427, allocations: 55.41 kB / 257.2 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.02459, allocations: 170.7 kB / 257.4 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.02464, allocations: 33.7 kB / 257.4 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.02486, allocations: 140.8 kB / 257.6 MB, free: 380 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.02505, allocations: 126.9 kB / 257.7 MB, free: 252 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.0252, allocations: 49.7 kB / 257.8 MB, free: 196 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000315/0.02552, allocations: 338.8 kB / 258.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.02581, allocations: 67.97 kB / 258.2 MB, free: 15.79 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.02618, allocations: 118.3 kB / 258.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.02681, allocations: 188.1 kB / 258.5 MB, free: 15.47 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02681, allocations: 3.938 kB / 258.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001379/0.02819, allocations: 302.2 kB / 258.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.02822, allocations: 11.94 kB / 258.8 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.02823, allocations: 0 / 258.8 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.02862, allocations: 48.83 kB / 258.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.02909, allocations: 55.91 kB / 258.9 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.03216, allocations: 1.61 MB / 260.5 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.03239, allocations: 16.14 kB / 260.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.03243, allocations: 16 kB / 260.5 MB, free: 13.3 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 0.0002685/0.0327, allocations: 129.8 kB / 260.6 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.0328, allocations: 27.91 kB / 260.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.008e-05/0.03289, allocations: 30.64 kB / 260.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.0329, allocations: 4 kB / 260.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.03291, allocations: 7.875 kB / 260.7 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.03291, allocations: 4.062 kB / 260.7 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.03442, allocations: 0.676 MB / 261.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.03442, allocations: 0 / 261.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.03472, allocations: 55.97 kB / 261.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/0.03488, allocations: 40.88 kB / 261.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.03491, allocations: 11.98 kB / 261.5 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.03647, allocations: 1.358 MB / 262.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.03648, allocations: 0 / 262.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.03734, allocations: 494.7 kB / 263.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.0374, allocations: 19.92 kB / 263.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.03743, allocations: 8 kB / 263.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.03758, allocations: 12.03 kB / 263.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.03766, allocations: 27.89 kB / 263.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.03768, allocations: 12 kB / 263.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.0378, allocations: 119.2 kB / 263.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0378, allocations: 0 / 263.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004106/0.03821, allocations: 64 kB / 263.6 MB, free: 10.02 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 0.0001634/0.03838, allocations: 103.2 kB / 263.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.03912, allocations: 334.6 kB / 264 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.03912, allocations: 0 / 264 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.03955, allocations: 230.5 kB / 264.2 MB, free: 9.332 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.04003, allocations: 52.23 kB / 264.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.04147, allocations: 0.6364 MB / 264.9 MB, free: 8.605 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.04166, allocations: 146.6 kB / 265.1 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.04177, allocations: 26.27 kB / 265.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.04184, allocations: 20.5 kB / 265.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.04184, allocations: 0 / 265.1 MB, free: 8.395 MB / 250.7 MB Notification: Performance of Templates: time 0.007519/0.04936, allocations: 2.686 MB / 267.8 MB, free: 5.734 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.436408915906213]