Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.001231/0.001231, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008766/0.009997, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001092/0.001092, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002588, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9952/0.9952, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.172/1.167, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.517e-05, allocations: 6.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00332/0.003345, allocations: 2.177 MB / 224.2 MB, free: 13.88 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.004118, allocations: 0.5851 MB / 224.7 MB, free: 13.28 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004227, allocations: 7.938 kB / 224.8 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.004358, allocations: 31.72 kB / 224.8 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.004447, allocations: 59.42 kB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.004561, allocations: 55.92 kB / 224.9 MB, free: 13.13 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.004734, allocations: 203 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.004855, allocations: 54.36 kB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.004982, allocations: 127.7 kB / 225.3 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.005089, allocations: 63.8 kB / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.005118, allocations: 16 kB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.005141, allocations: 16 kB / 225.4 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.005169, allocations: 23.94 kB / 225.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.005215, allocations: 55.88 kB / 225.4 MB, free: 12.58 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.005388, allocations: 123.5 kB / 225.6 MB, free: 12.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.005399, allocations: 4 kB / 225.6 MB, free: 12.46 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0054, allocations: 0 / 225.6 MB, free: 12.46 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.005411, allocations: 0 / 225.6 MB, free: 12.46 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004803/0.005891, allocations: 419.5 kB / 226 MB, free: 12.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.005921, allocations: 8.031 kB / 226 MB, free: 12.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.005966, allocations: 32.84 kB / 226 MB, free: 11.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.006144, allocations: 161.4 kB / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.006158, allocations: 20.36 kB / 226.2 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.006189, allocations: 16.38 kB / 226.2 MB, free: 11.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.006364, allocations: 118.9 kB / 226.3 MB, free: 11.64 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.006375, allocations: 4.188 kB / 226.3 MB, free: 11.64 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.006388, allocations: 8.375 kB / 226.3 MB, free: 11.63 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.006396, allocations: 7.938 kB / 226.3 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.006458, allocations: 47.53 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.006973, allocations: 386.8 kB / 226.8 MB, free: 11.17 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.007096, allocations: 78.41 kB / 226.8 MB, free: 11.09 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.007129, allocations: 28.73 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.007145, allocations: 4 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.00717, allocations: 34.56 kB / 226.9 MB, free: 11.01 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.007172, allocations: 0 / 226.9 MB, free: 11.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008933/0.008065, allocations: 0.5224 MB / 227.4 MB, free: 10.43 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.008101, allocations: 55.34 kB / 227.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.008201, allocations: 151.2 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.008214, allocations: 25.7 kB / 227.7 MB, free: 10.17 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.008273, allocations: 136.3 kB / 227.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.00831, allocations: 67.42 kB / 227.9 MB, free: 9.969 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.008355, allocations: 33.7 kB / 227.9 MB, free: 9.93 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.008442, allocations: 334.8 kB / 228.2 MB, free: 9.594 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.00847, allocations: 19.86 kB / 228.2 MB, free: 9.574 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.008517, allocations: 61.12 kB / 228.3 MB, free: 9.496 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.008606, allocations: 98.98 kB / 228.4 MB, free: 9.383 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.008607, allocations: 0 / 228.4 MB, free: 9.383 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001657/0.008773, allocations: 142.2 kB / 228.5 MB, free: 9.234 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.008788, allocations: 10.66 kB / 228.5 MB, free: 9.227 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.008793, allocations: 0 / 228.5 MB, free: 9.227 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.008919, allocations: 32.83 kB / 228.6 MB, free: 9.191 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.009031, allocations: 43.97 kB / 228.6 MB, free: 9.148 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008188/0.00985, allocations: 1.261 MB / 229.9 MB, free: 7.801 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.009901, allocations: 4 kB / 229.9 MB, free: 7.797 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.00991, allocations: 4 kB / 229.9 MB, free: 7.793 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.009997, allocations: 125.7 kB / 230 MB, free: 7.66 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.01002, allocations: 15.98 kB / 230 MB, free: 7.645 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.01005, allocations: 21.11 kB / 230 MB, free: 7.625 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01005, allocations: 7.938 kB / 230.1 MB, free: 7.617 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.01005, allocations: 4.031 kB / 230.1 MB, free: 7.613 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01006, allocations: 0 / 230.1 MB, free: 7.613 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.01047, allocations: 370.4 kB / 230.4 MB, free: 7.219 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01048, allocations: 3.938 kB / 230.4 MB, free: 7.215 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.01058, allocations: 39.92 kB / 230.5 MB, free: 7.176 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.01059, allocations: 7.953 kB / 230.5 MB, free: 7.168 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.349e-05/0.01067, allocations: 24.83 kB / 230.5 MB, free: 7.141 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.01068, allocations: 8 kB / 230.5 MB, free: 7.133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006389/0.01132, allocations: 1.23 MB / 231.7 MB, free: 5.812 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01132, allocations: 0 / 231.7 MB, free: 5.812 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.0115, allocations: 240.1 kB / 232 MB, free: 5.559 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.01152, allocations: 4 kB / 232 MB, free: 5.555 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.01156, allocations: 12.05 kB / 232 MB, free: 5.543 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.0116, allocations: 11.98 kB / 232 MB, free: 5.531 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.0116, allocations: 0 / 232 MB, free: 5.531 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.01163, allocations: 40.94 kB / 232 MB, free: 5.488 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01163, allocations: 0 / 232 MB, free: 5.488 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.0118, allocations: 44 kB / 232.1 MB, free: 5.445 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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.0001063/0.01191, allocations: 80.36 kB / 232.2 MB, free: 5.355 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01218, allocations: 224.7 kB / 232.4 MB, free: 5.129 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.01219, allocations: 4 kB / 232.4 MB, free: 5.125 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01232, allocations: 195.2 kB / 232.6 MB, free: 4.918 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01259, allocations: 198.2 kB / 232.8 MB, free: 4.688 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.01441, allocations: 404.7 kB / 233.2 MB, free: 4.266 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.01446, allocations: 75.98 kB / 233.2 MB, free: 4.172 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.188e-05/0.01451, allocations: 21.66 kB / 233.3 MB, free: 4.152 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.01459, allocations: 71.36 kB / 233.3 MB, free: 4.082 MB / 234.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01459, allocations: 0 / 233.3 MB, free: 4.082 MB / 234.7 MB Notification: Performance of Templates: time 0.004272/0.01887, allocations: 2.042 MB / 235.4 MB, free: 2.051 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7985511673614383]