Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_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.001245/0.001245, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001506/0.001506, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003506/0.2548, allocations: 2.118 MB / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2558, allocations: 0.5415 MB / 402.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.256, allocations: 4 kB / 402.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.2562, allocations: 31.66 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2563, allocations: 51.58 kB / 403 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.2565, allocations: 55.86 kB / 403 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.2567, allocations: 207.1 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2569, allocations: 73.14 kB / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.257, allocations: 79.66 kB / 403.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.2572, allocations: 83.62 kB / 403.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.2572, allocations: 20 kB / 403.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.2573, allocations: 16 kB / 403.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.2573, allocations: 31.91 kB / 403.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2574, allocations: 99.53 kB / 403.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.2577, allocations: 206.2 kB / 403.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2577, allocations: 0 / 403.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2577, allocations: 0 / 403.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2577, allocations: 0 / 403.8 MB, free: 5.203 MB / 318.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.0007198/0.2584, allocations: 486.6 kB / 404.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2585, allocations: 11.97 kB / 404.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.2586, allocations: 54.73 kB / 404.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.2586, allocations: 20.8 kB / 404.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.2589, allocations: 226.6 kB / 404.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2589, allocations: 12.38 kB / 404.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.259, allocations: 16.38 kB / 404.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.2593, allocations: 157.5 kB / 404.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2594, allocations: 8 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.2594, allocations: 4 kB / 404.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.2594, allocations: 4 kB / 404.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.2596, allocations: 103.7 kB / 404.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.2605, allocations: 0.5888 MB / 405.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.2608, allocations: 126.5 kB / 405.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.2609, allocations: 40.84 kB / 405.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2609, allocations: 4 kB / 405.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.261, allocations: 30.56 kB / 405.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.261, allocations: 0 / 405.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00157/0.2625, allocations: 0.8105 MB / 406.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2626, allocations: 51.41 kB / 406.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2628, allocations: 162.2 kB / 406.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2628, allocations: 29.7 kB / 406.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.2629, allocations: 124.5 kB / 406.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.2629, allocations: 67.42 kB / 406.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.263, allocations: 33.72 kB / 406.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2632, allocations: 334.8 kB / 407.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2633, allocations: 39.98 kB / 407.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2634, allocations: 77.09 kB / 407.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.2637, allocations: 139.3 kB / 407.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2637, allocations: 0 / 407.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000407/0.2641, allocations: 213.9 kB / 407.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2641, allocations: 8 kB / 407.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2641, allocations: 0 / 407.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.2643, allocations: 40.83 kB / 407.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2645, allocations: 31.92 kB / 407.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.2659, allocations: 1.535 MB / 409.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.597e-05/0.266, allocations: 12.02 kB / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.266, allocations: 4 kB / 409.4 MB, free: 15.16 MB / 334.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.0001585/0.2662, allocations: 137.8 kB / 409.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.2663, allocations: 15.91 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.2663, allocations: 17.19 kB / 409.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2663, allocations: 4 kB / 409.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2663, allocations: 3.938 kB / 409.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2663, allocations: 3.984 kB / 409.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.2672, allocations: 0.5898 MB / 410.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.2672, allocations: 0 / 410.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2674, allocations: 31.92 kB / 410.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.2675, allocations: 36.77 kB / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2675, allocations: 4 kB / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.2688, allocations: 1.473 MB / 411.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2688, allocations: 7.922 kB / 411.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.2694, allocations: 344.1 kB / 412 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.2694, allocations: 93.03 kB / 412.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2695, allocations: 4 kB / 412.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.2696, allocations: 4 kB / 412.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.2696, allocations: 15.92 kB / 412.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2696, allocations: 4 kB / 412.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2698, allocations: 119.3 kB / 412.3 MB, free: 12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2698, allocations: 4 kB / 412.3 MB, free: 12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.2701, allocations: 47.94 kB / 412.3 MB, free: 11.95 MB / 334.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.0008887/0.271, allocations: 0.8725 MB / 413.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.2715, allocations: 254.4 kB / 413.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2715, allocations: 0 / 413.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.2718, allocations: 186.6 kB / 413.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.2721, allocations: 28.17 kB / 413.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.2749, allocations: 2.134 MB / 415.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.2752, allocations: 0.7319 MB / 416.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.027e-05/0.2753, allocations: 13.55 kB / 416.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.2754, allocations: 47.42 kB / 416.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2754, allocations: 4 kB / 416.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.308, allocations: 3.759 MB / 420.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.7/10.01, allocations: 10.67 kB / 420.3 MB, free: 3.875 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches