Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001843/0.001843, allocations: 83.91 kB / 20.68 MB, free: 1.047 MB / 14.72 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.002366/0.002366, allocations: 167.6 kB / 23.96 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0.5156 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.135e-05, allocations: 3.438 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.005157/0.005188, allocations: 2.043 MB / 327.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.006949, allocations: 0.5593 MB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.00724, allocations: 3.844 kB / 327.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.007483, allocations: 32.55 kB / 327.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.007736, allocations: 53.17 kB / 327.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.008015, allocations: 53.55 kB / 327.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.00849, allocations: 216.4 kB / 328 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.008738, allocations: 58.8 kB / 328.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.009042, allocations: 107.2 kB / 328.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.009238, allocations: 60.06 kB / 328.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.009288, allocations: 20.53 kB / 328.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.228e-05/0.00934, allocations: 17.53 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.009408, allocations: 34.05 kB / 328.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.009539, allocations: 63.72 kB / 328.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.009996, allocations: 211.2 kB / 328.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.01, allocations: 0 / 328.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01, allocations: 0 / 328.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01001, allocations: 0 / 328.6 MB, free: 14.35 MB / 302.1 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.001036/0.01104, allocations: 409.3 kB / 329 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.01109, allocations: 8.812 kB / 329 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.49e-05/0.01118, allocations: 19.03 kB / 329 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.01159, allocations: 164.9 kB / 329.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.01162, allocations: 15.53 kB / 329.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.01168, allocations: 15.38 kB / 329.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.01222, allocations: 153.9 kB / 329.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.01224, allocations: 5.938 kB / 329.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.01227, allocations: 6.531 kB / 329.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.01229, allocations: 7.25 kB / 329.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.01273, allocations: 106 kB / 329.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01417, allocations: 487.9 kB / 329.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.0146, allocations: 112.3 kB / 330 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.01478, allocations: 38.95 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.0148, allocations: 6.562 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.01485, allocations: 32.34 kB / 330.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.555e-06/0.01485, allocations: 0 / 330.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.002619/0.01747, allocations: 0.6436 MB / 330.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.01752, allocations: 54.38 kB / 330.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.01772, allocations: 150.5 kB / 331 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.01775, allocations: 31.08 kB / 331 MB, free: 12.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01789, allocations: 132.5 kB / 331.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.01797, allocations: 62.62 kB / 331.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.01807, allocations: 37.22 kB / 331.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.01828, allocations: 322.2 kB / 331.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.01846, allocations: 40.86 kB / 331.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.01871, allocations: 85.14 kB / 331.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.01915, allocations: 137.7 kB / 331.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01915, allocations: 0 / 331.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000757/0.01991, allocations: 202.5 kB / 332 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.01993, allocations: 6.609 kB / 332 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01994, allocations: 1.125 kB / 332 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.02024, allocations: 44.92 kB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.02052, allocations: 36.39 kB / 332.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.02278, allocations: 1.394 MB / 333.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.02293, allocations: 10.31 kB / 333.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.02295, allocations: 5.125 kB / 333.5 MB, free: 10.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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 0.0002125/0.02316, allocations: 139.2 kB / 333.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.02323, allocations: 9.734 kB / 333.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.0233, allocations: 23.44 kB / 333.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.0233, allocations: 2.156 kB / 333.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.02331, allocations: 1.375 kB / 333.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.02332, allocations: 5.125 kB / 333.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.02478, allocations: 0.5089 MB / 334.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02478, allocations: 0 / 334.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.02505, allocations: 26.14 kB / 334.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.02527, allocations: 41.61 kB / 334.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.02529, allocations: 5.188 kB / 334.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.02726, allocations: 1.34 MB / 335.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.02726, allocations: 1.062 kB / 335.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.02816, allocations: 341.2 kB / 335.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.02819, allocations: 15.88 kB / 335.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.02822, allocations: 5.5 kB / 335.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.02841, allocations: 14.98 kB / 335.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.02847, allocations: 16.02 kB / 336 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.02849, allocations: 3.812 kB / 336 MB, free: 8.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.02862, allocations: 107.3 kB / 336.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02862, allocations: 0 / 336.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005652/0.02918, allocations: 45.81 kB / 336.1 MB, free: 8.066 MB / 302.1 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.0001785/0.02936, allocations: 101.7 kB / 336.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007928/0.03015, allocations: 247.8 kB / 336.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.03016, allocations: 0 / 336.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.03061, allocations: 183.7 kB / 336.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.03117, allocations: 23.98 kB / 336.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.03254, allocations: 431.1 kB / 337.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.03271, allocations: 122.3 kB / 337.2 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.03282, allocations: 16.83 kB / 337.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.03288, allocations: 15.81 kB / 337.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.03288, allocations: 0 / 337.2 MB, free: 7.199 MB / 302.1 MB Notification: Performance of Templates: time 0.009345/0.04223, allocations: 1.818 MB / 339 MB, free: 6.27 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.315187759697437]