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.001677/0.001677, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001061/0.001061, allocations: 166.9 kB / 25.33 MB, free: 8.594 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.8139/0.8139, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.031e-06/1.031e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.178e-05, allocations: 6.312 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002185/0.002196, allocations: 2.389 MB / 253.4 MB, free: 5.117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.002918, allocations: 0.6164 MB / 254 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.003006, allocations: 4 kB / 254 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.003118, allocations: 39.53 kB / 254.1 MB, free: 4.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.003236, allocations: 83.27 kB / 254.2 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.003383, allocations: 55.86 kB / 254.2 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.003585, allocations: 286.5 kB / 254.5 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.003714, allocations: 71.3 kB / 254.6 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.003866, allocations: 159.6 kB / 254.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.003963, allocations: 87.7 kB / 254.8 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.003991, allocations: 20 kB / 254.8 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.004014, allocations: 20 kB / 254.8 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.004046, allocations: 47.83 kB / 254.9 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.004105, allocations: 83.77 kB / 255 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.004289, allocations: 179.3 kB / 255.2 MB, free: 3.375 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004291, allocations: 0 / 255.2 MB, free: 3.375 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004292, allocations: 0 / 255.2 MB, free: 3.375 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004295, allocations: 0 / 255.2 MB, free: 3.375 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.0004651/0.00476, allocations: 0.5545 MB / 255.7 MB, free: 2.785 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.004792, allocations: 19.97 kB / 255.7 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.00485, allocations: 48.75 kB / 255.8 MB, free: 2.719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.005018, allocations: 177 kB / 255.9 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.005032, allocations: 12.88 kB / 256 MB, free: 2.504 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.005072, allocations: 28.36 kB / 256 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.00528, allocations: 169.3 kB / 256.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.005291, allocations: 4.141 kB / 256.2 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.005306, allocations: 12.38 kB / 256.2 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.005314, allocations: 7.938 kB / 256.2 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.005426, allocations: 78.92 kB / 256.3 MB, free: 2.203 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.006017, allocations: 0.5443 MB / 256.8 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.006192, allocations: 143.1 kB / 256.9 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.006267, allocations: 59.66 kB / 257 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.006282, allocations: 12 kB / 257 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.006302, allocations: 37.39 kB / 257 MB, free: 1.348 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 1.552e-06/0.006304, allocations: 0 / 257 MB, free: 1.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.001045/0.007348, allocations: 0.7864 MB / 257.8 MB, free: 0.5 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.007372, allocations: 55.41 kB / 257.9 MB, free: 444 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.007537, allocations: 222.1 kB / 258.1 MB, free: 204 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.007551, allocations: 29.7 kB / 258.1 MB, free: 168 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.00763, allocations: 199.5 kB / 258.3 MB, free: 15.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.007685, allocations: 115 kB / 258.4 MB, free: 15.85 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.007742, allocations: 59.36 kB / 258.5 MB, free: 15.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.007843, allocations: 0.5039 MB / 259 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.007902, allocations: 39.98 kB / 259 MB, free: 15.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.007981, allocations: 83.05 kB / 259.1 MB, free: 15.13 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.008134, allocations: 140.6 kB / 259.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.008135, allocations: 0 / 259.3 MB, free: 14.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002608/0.008396, allocations: 257.1 kB / 259.5 MB, free: 14.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.008408, allocations: 7.938 kB / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008412, allocations: 0 / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.008535, allocations: 43.66 kB / 259.6 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.008676, allocations: 55.91 kB / 259.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.009736, allocations: 2.114 MB / 261.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.009798, allocations: 15.98 kB / 261.7 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.009809, allocations: 8 kB / 261.7 MB, free: 12.36 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 8e-05/0.009889, allocations: 172.5 kB / 261.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.009921, allocations: 27.91 kB / 261.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.009945, allocations: 26.66 kB / 262 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009947, allocations: 4 kB / 262 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.009952, allocations: 7.969 kB / 262 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.009957, allocations: 3.984 kB / 262 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.01055, allocations: 0.6746 MB / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01055, allocations: 0 / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.01069, allocations: 55.91 kB / 262.7 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.398e-05/0.01076, allocations: 35.77 kB / 262.7 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01078, allocations: 11.98 kB / 262.8 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009183/0.0117, allocations: 1.807 MB / 264.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0117, allocations: 0 / 264.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.01205, allocations: 450.4 kB / 265 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.01207, allocations: 23.89 kB / 265 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.01209, allocations: 12 kB / 265 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.01215, allocations: 4 kB / 265 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.01221, allocations: 35.83 kB / 265.1 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.01222, allocations: 8 kB / 265.1 MB, free: 8.777 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.064e-05/0.0123, allocations: 155.1 kB / 265.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0123, allocations: 0 / 265.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004134/0.01271, allocations: 72 kB / 265.3 MB, free: 8.555 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 9.793e-05/0.01281, allocations: 103.2 kB / 265.4 MB, free: 8.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005068/0.01332, allocations: 345.6 kB / 265.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01332, allocations: 0 / 265.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.01359, allocations: 273.3 kB / 266 MB, free: 7.793 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.014, allocations: 47.59 kB / 266.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.01522, allocations: 0.6388 MB / 266.7 MB, free: 7.066 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.787e-05/0.01529, allocations: 84.7 kB / 266.8 MB, free: 6.965 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.01538, allocations: 26.27 kB / 266.8 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.01544, allocations: 20.5 kB / 266.8 MB, free: 6.922 MB / 250.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01544, allocations: 4 kB / 266.8 MB, free: 6.918 MB / 250.7 MB Notification: Performance of Templates: time 0.00541/0.02085, allocations: 2.831 MB / 269.7 MB, free: 4.117 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.4719031611457467]