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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 107.4 kB / 17.16 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 51.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07328/0.07435, allocations: 46.61 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002821/0.07721, allocations: 2.17 MB / 328.9 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.07795, allocations: 0.5658 MB / 329.4 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.07805, allocations: 4 kB / 329.4 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.07819, allocations: 27.78 kB / 329.5 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.07828, allocations: 43.67 kB / 329.5 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.07843, allocations: 43.91 kB / 329.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.07863, allocations: 199.1 kB / 329.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.07877, allocations: 61.61 kB / 329.8 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.07885, allocations: 71.7 kB / 329.9 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.07896, allocations: 79.62 kB / 329.9 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.07899, allocations: 12 kB / 330 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.042e-05/0.07903, allocations: 12 kB / 330 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.07906, allocations: 31.86 kB / 330 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.07914, allocations: 87.53 kB / 330.1 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.07932, allocations: 195.6 kB / 330.3 MB, free: 1.188 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.07933, allocations: 3.938 kB / 330.3 MB, free: 1.184 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.07934, allocations: 0 / 330.3 MB, free: 1.184 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.07935, allocations: 0 / 330.3 MB, free: 1.184 MB / 270.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.00055/0.0799, allocations: 490.5 kB / 330.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.07994, allocations: 11.97 kB / 330.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.08, allocations: 50.73 kB / 330.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.08004, allocations: 20.75 kB / 330.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.08023, allocations: 224 kB / 331.1 MB, free: 316 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.08025, allocations: 8.375 kB / 331.1 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.08028, allocations: 20.38 kB / 331.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.08057, allocations: 161.5 kB / 331.2 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.08059, allocations: 0 / 331.2 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.08061, allocations: 8 kB / 331.2 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.08062, allocations: 4 kB / 331.3 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.08084, allocations: 103.7 kB / 331.4 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.0816, allocations: 0.5965 MB / 332 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.08182, allocations: 118.6 kB / 332.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.08191, allocations: 40.84 kB / 332.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.08194, allocations: 0 / 332.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.08196, allocations: 38.56 kB / 332.1 MB, free: 15.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.08197, allocations: 0 / 332.1 MB, free: 15.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001345/0.08332, allocations: 0.8023 MB / 332.9 MB, free: 14.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.08336, allocations: 59.31 kB / 333 MB, free: 14.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.08348, allocations: 158.2 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.08351, allocations: 29.7 kB / 333.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.08357, allocations: 128.3 kB / 333.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.08362, allocations: 67.08 kB / 333.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.08368, allocations: 33.72 kB / 333.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.08377, allocations: 338.8 kB / 333.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.08388, allocations: 39.98 kB / 333.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.08399, allocations: 71.41 kB / 333.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.0842, allocations: 131.3 kB / 334 MB, free: 13.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.08421, allocations: 4 kB / 334 MB, free: 13.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003404/0.08455, allocations: 210.1 kB / 334.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.08458, allocations: 4 kB / 334.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.08459, allocations: 7.938 kB / 334.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.08474, allocations: 40.83 kB / 334.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.08489, allocations: 35.98 kB / 334.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.08592, allocations: 1.413 MB / 335.7 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.08601, allocations: 8.094 kB / 335.7 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.08603, allocations: 12 kB / 335.7 MB, free: 11.26 MB / 286.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 9.454e-05/0.08613, allocations: 133.8 kB / 335.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.08617, allocations: 11.84 kB / 335.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.08622, allocations: 21.19 kB / 335.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.08623, allocations: 4 kB / 335.9 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.08624, allocations: 192 / 335.9 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.08625, allocations: 4 kB / 335.9 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.08695, allocations: 0.5955 MB / 336.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.08696, allocations: 0 / 336.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.08712, allocations: 27.98 kB / 336.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.08724, allocations: 40.81 kB / 336.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.08726, allocations: 4 kB / 336.5 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008748/0.08814, allocations: 1.363 MB / 337.9 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.08815, allocations: 4.094 kB / 337.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.0886, allocations: 343.1 kB / 338.2 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.08865, allocations: 88.98 kB / 338.3 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.08868, allocations: 4 kB / 338.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.08879, allocations: 8 kB / 338.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.08883, allocations: 19.97 kB / 338.4 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.08885, allocations: 4 kB / 338.4 MB, free: 8.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.514e-05/0.08893, allocations: 119.2 kB / 338.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.08893, allocations: 0 / 338.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000271/0.08921, allocations: 44 kB / 338.5 MB, free: 8.191 MB / 286.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.0006791/0.0899, allocations: 0.8731 MB / 339.4 MB, free: 7.289 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004152/0.09032, allocations: 254.4 kB / 339.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09034, allocations: 0 / 339.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.09058, allocations: 190.8 kB / 339.8 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.09096, allocations: 36.17 kB / 339.9 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.09324, allocations: 2.19 MB / 342.1 MB, free: 4.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.09353, allocations: 0.7281 MB / 342.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.0936, allocations: 17.55 kB / 342.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.09368, allocations: 47.42 kB / 342.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09369, allocations: 0 / 342.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4233/0.517, allocations: 3.457 MB / 346.3 MB, free: 200 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.5173, allocations: 230.2 kB / 346.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.352, allocations: 0 / 346.5 MB, free: 15.93 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches