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.001468/0.001468, 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.001212/0.001212, allocations: 162.3 kB / 25.6 MB, free: 8.914 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.9447/0.9447, allocations: 158.6 MB / 187.5 MB, free: 2.82 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.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 1.432e-06/1.432e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.487e-05, allocations: 2.312 kB / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.006211/0.006236, allocations: 2.354 MB / 253.8 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.007273, allocations: 0.6164 MB / 254.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.007422, allocations: 7.938 kB / 254.4 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.01062, allocations: 31.66 kB / 254.5 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.01078, allocations: 87.2 kB / 254.5 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.01097, allocations: 63.78 kB / 254.6 MB, free: 4.078 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.01118, allocations: 278.6 kB / 254.9 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.01132, allocations: 67.3 kB / 254.9 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.01154, allocations: 171.5 kB / 255.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.0117, allocations: 79.78 kB / 255.2 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.01175, allocations: 24 kB / 255.2 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.772e-05/0.01178, allocations: 20 kB / 255.2 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.01183, allocations: 55.75 kB / 255.3 MB, free: 3.395 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.01192, allocations: 83.77 kB / 255.4 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.01221, allocations: 175.4 kB / 255.5 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01221, allocations: 0 / 255.5 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01221, allocations: 0 / 255.5 MB, free: 3.141 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.01222, allocations: 0 / 255.5 MB, free: 3.141 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.0006651/0.01288, allocations: 0.5545 MB / 256.1 MB, free: 2.551 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.01293, allocations: 11.98 kB / 256.1 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.01301, allocations: 48.75 kB / 256.2 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.01325, allocations: 177 kB / 256.3 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.01327, allocations: 16.88 kB / 256.3 MB, free: 2.273 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.01331, allocations: 24.38 kB / 256.4 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.01357, allocations: 149.3 kB / 256.5 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.01359, allocations: 8.141 kB / 256.5 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.01361, allocations: 12.38 kB / 256.5 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.01362, allocations: 19.86 kB / 256.6 MB, free: 2.055 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.01375, allocations: 59.44 kB / 256.6 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.01455, allocations: 0.5136 MB / 257.1 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.01476, allocations: 138.6 kB / 257.3 MB, free: 1.309 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.01485, allocations: 55.64 kB / 257.3 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.01487, allocations: 4 kB / 257.3 MB, free: 1.246 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.0149, allocations: 41.39 kB / 257.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.0149, allocations: 8 kB / 257.4 MB, free: 1.188 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001328/0.01623, allocations: 0.7045 MB / 258.1 MB, free: 432 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.01627, allocations: 55.41 kB / 258.1 MB, free: 364 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.01641, allocations: 226 kB / 258.4 MB, free: 120 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.01642, allocations: 29.7 kB / 258.4 MB, free: 84 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01653, allocations: 187.5 kB / 258.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.01661, allocations: 118.9 kB / 258.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.01669, allocations: 67.33 kB / 258.7 MB, free: 15.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.01685, allocations: 0.5039 MB / 259.2 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.01691, allocations: 23.98 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.017, allocations: 79.02 kB / 259.3 MB, free: 15.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.01716, allocations: 120.6 kB / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01717, allocations: 0 / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003551/0.01752, allocations: 225.1 kB / 259.7 MB, free: 14.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.01754, allocations: 16.05 kB / 259.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01755, allocations: 3.938 kB / 259.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.0177, allocations: 35.67 kB / 259.7 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.01791, allocations: 55.91 kB / 259.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.01931, allocations: 2.087 MB / 261.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01941, allocations: 8 kB / 261.9 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.01943, allocations: 15.94 kB / 261.9 MB, free: 12.38 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.0001151/0.01954, allocations: 168.5 kB / 262.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.0196, allocations: 31.86 kB / 262.1 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.01964, allocations: 26.64 kB / 262.1 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01964, allocations: 4 kB / 262.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.01965, allocations: 0 / 262.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01965, allocations: 4 kB / 262.1 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.02049, allocations: 0.6283 MB / 262.8 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.02049, allocations: 0 / 262.8 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.02071, allocations: 63.84 kB / 262.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.02082, allocations: 31.66 kB / 262.9 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.02084, allocations: 12.09 kB / 262.9 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.02193, allocations: 1.78 MB / 264.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.02193, allocations: 4 kB / 264.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.02242, allocations: 426.4 kB / 265.1 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.02245, allocations: 23.84 kB / 265.1 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.02247, allocations: 4 kB / 265.1 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.02259, allocations: 12.03 kB / 265.1 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.02264, allocations: 27.89 kB / 265.1 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.02266, allocations: 12 kB / 265.1 MB, free: 8.914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.065e-05/0.02274, allocations: 147.1 kB / 265.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02274, allocations: 0 / 265.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003867/0.02313, allocations: 68 kB / 265.4 MB, free: 8.703 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.000138/0.02326, allocations: 103.2 kB / 265.5 MB, free: 8.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.02371, allocations: 334.1 kB / 265.8 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02371, allocations: 0 / 265.8 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.02397, allocations: 269.3 kB / 266 MB, free: 7.957 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.02436, allocations: 43.55 kB / 266.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.02566, allocations: 0.6388 MB / 266.7 MB, free: 7.234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.02574, allocations: 88.69 kB / 266.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.686e-05/0.02583, allocations: 22.28 kB / 266.8 MB, free: 7.109 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.02597, allocations: 114.2 kB / 266.9 MB, free: 6.996 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02597, allocations: 0 / 266.9 MB, free: 6.996 MB / 250.7 MB Notification: Performance of Templates: time 0.00691/0.03288, allocations: 2.92 MB / 269.9 MB, free: 4.109 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 240] 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","",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.691534534096718]