Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007946/0.0007946, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008218/0.0008218, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8962/0.8962, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.049e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002046/0.002056, allocations: 2.048 MB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007015/0.002758, allocations: 0.5454 MB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.00285, allocations: 7.938 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.002956, allocations: 31.66 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.003031, allocations: 59.42 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.003159, allocations: 43.95 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003321, allocations: 211 kB / 327.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003435, allocations: 57.77 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.003528, allocations: 111.7 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.003605, allocations: 63.8 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.003631, allocations: 16 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.885e-05/0.00365, allocations: 16 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.003675, allocations: 39.83 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.003717, allocations: 59.91 kB / 327.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.003885, allocations: 211.3 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003886, allocations: 0 / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003887, allocations: 0 / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003891, allocations: 4 kB / 328 MB, free: 12.37 MB / 298.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.0004158/0.004306, allocations: 409.2 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004342, allocations: 15.98 kB / 328.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.004378, allocations: 50.73 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.004407, allocations: 20.84 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.004576, allocations: 153.5 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.004587, allocations: 12.38 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.00461, allocations: 20.38 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.004807, allocations: 154.1 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004817, allocations: 192 / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.004832, allocations: 16.06 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.004837, allocations: 4 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.004974, allocations: 103.7 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.005542, allocations: 0.5141 MB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.005691, allocations: 114.6 kB / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.005744, allocations: 40.78 kB / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.005756, allocations: 0 / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.005775, allocations: 42.5 kB / 329.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 7.82e-07/0.005776, allocations: 0 / 329.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009049/0.006681, allocations: 0.6503 MB / 330.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.006708, allocations: 51.41 kB / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.006802, allocations: 158.3 kB / 330.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.006815, allocations: 29.7 kB / 330.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.006872, allocations: 136.3 kB / 330.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.006907, allocations: 67.42 kB / 330.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.006948, allocations: 33.7 kB / 330.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.007025, allocations: 326.8 kB / 331.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.007087, allocations: 47.97 kB / 331.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-05/0.007165, allocations: 87.28 kB / 331.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.00731, allocations: 126.2 kB / 331.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007311, allocations: 0 / 331.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002317/0.007543, allocations: 210.2 kB / 331.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.007555, allocations: 7.938 kB / 331.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.007562, allocations: 4 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.007675, allocations: 44.89 kB / 331.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.007765, allocations: 31.92 kB / 331.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007824/0.008547, allocations: 1.413 MB / 333.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.008595, allocations: 8.188 kB / 333.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.008604, allocations: 8 kB / 333.1 MB, free: 6.918 MB / 298.7 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 8e-05/0.008684, allocations: 141.8 kB / 333.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.008705, allocations: 15.91 kB / 333.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.008728, allocations: 21.11 kB / 333.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.008729, allocations: 0 / 333.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008732, allocations: 0 / 333.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008736, allocations: 4 kB / 333.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.009212, allocations: 0.5364 MB / 333.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009213, allocations: 0 / 333.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.009293, allocations: 35.92 kB / 333.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-05/0.00936, allocations: 28.84 kB / 333.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.009369, allocations: 8 kB / 333.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006581/0.01003, allocations: 1.362 MB / 335.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01003, allocations: 0 / 335.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.01036, allocations: 354.3 kB / 335.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.01037, allocations: 11.94 kB / 335.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.01038, allocations: 0 / 335.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.01043, allocations: 11.98 kB / 335.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.01046, allocations: 11.98 kB / 335.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.01047, allocations: 7.984 kB / 335.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.922e-05/0.01053, allocations: 120.1 kB / 335.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01053, allocations: 3.938 kB / 335.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.01072, allocations: 40 kB / 335.8 MB, free: 4.012 MB / 298.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.0004577/0.01118, allocations: 0.8732 MB / 336.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.01147, allocations: 242.5 kB / 336.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01147, allocations: 0 / 336.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.01161, allocations: 190.7 kB / 337.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01183, allocations: 38.73 kB / 337.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.01337, allocations: 2.077 MB / 339.2 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.01344, allocations: 116.2 kB / 339.3 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.01349, allocations: 25.41 kB / 339.3 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.01355, allocations: 48.48 kB / 339.4 MB, free: 244 kB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.01355, allocations: 0 / 339.4 MB, free: 244 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.03088, allocations: 4.518 MB / 343.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/6.965, allocations: 0 / 343.9 MB, free: 11.84 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inertia.phi,inertia.w Variables in the result:time,inertia.phi,inertia.w [Calling sys.exit(0), Time elapsed: 8.76812735851854]