Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007545/0.0007545, allocations: 97 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 16 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001878/0.2504, allocations: 1.743 MB / 376.9 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000765/0.2512, allocations: 0.5578 MB / 377.5 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2513, allocations: 3.312 kB / 377.5 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.2514, allocations: 24.19 kB / 377.5 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.2515, allocations: 41.7 kB / 377.6 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.2517, allocations: 42.5 kB / 377.6 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.2519, allocations: 187.1 kB / 377.8 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.2521, allocations: 69.86 kB / 377.8 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.2522, allocations: 57.23 kB / 377.9 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.2523, allocations: 76.11 kB / 378 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.2523, allocations: 9 kB / 378 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/0.2523, allocations: 8.688 kB / 378 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.2524, allocations: 37.17 kB / 378 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.2525, allocations: 101.4 kB / 378.1 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2526, allocations: 158.2 kB / 378.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2526, allocations: 0 / 378.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2527, allocations: 0 / 378.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2527, allocations: 0 / 378.3 MB, free: 43.06 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.0005403/0.2532, allocations: 454.6 kB / 378.7 MB, free: 42.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2533, allocations: 13.53 kB / 378.7 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.2533, allocations: 48.14 kB / 378.8 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.2534, allocations: 21.5 kB / 378.8 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2535, allocations: 220.2 kB / 379 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2536, allocations: 11.16 kB / 379 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.2536, allocations: 16.34 kB / 379.1 MB, free: 42.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2539, allocations: 159 kB / 379.2 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.254, allocations: 5.328 kB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.254, allocations: 9.094 kB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.254, allocations: 4.594 kB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.2542, allocations: 108.9 kB / 379.3 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007747/0.255, allocations: 0.5963 MB / 379.9 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.2553, allocations: 110.7 kB / 380 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.2554, allocations: 50.17 kB / 380.1 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2554, allocations: 1.156 kB / 380.1 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2554, allocations: 36.72 kB / 380.1 MB, free: 41.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2554, allocations: 0 / 380.1 MB, free: 41.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001316/0.2567, allocations: 0.8064 MB / 380.9 MB, free: 40.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.2568, allocations: 52.34 kB / 381 MB, free: 40.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.2569, allocations: 162.3 kB / 381.1 MB, free: 40.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2569, allocations: 33.7 kB / 381.2 MB, free: 40.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.257, allocations: 133.3 kB / 381.3 MB, free: 40.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.257, allocations: 62.11 kB / 381.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-06/0.257, allocations: 1.188 kB / 381.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.2571, allocations: 334.3 kB / 381.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.2572, allocations: 40.92 kB / 381.7 MB, free: 40.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.2573, allocations: 81.19 kB / 381.8 MB, free: 39.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.2575, allocations: 141.2 kB / 381.9 MB, free: 39.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2575, allocations: 3.938 kB / 382 MB, free: 39.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003459/0.2579, allocations: 211.7 kB / 382.2 MB, free: 39.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2579, allocations: 6.219 kB / 382.2 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2579, allocations: 1.188 kB / 382.2 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.2581, allocations: 39.86 kB / 382.2 MB, free: 39.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2582, allocations: 30.7 kB / 382.2 MB, free: 39.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008685/0.2591, allocations: 1.426 MB / 383.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.974e-05/0.2592, allocations: 20 kB / 383.7 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2592, allocations: 5.219 kB / 383.7 MB, free: 38.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.972e-05/0.2593, allocations: 142.2 kB / 383.8 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.2594, allocations: 11.41 kB / 383.8 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.2594, allocations: 15.47 kB / 383.8 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2594, allocations: 2.219 kB / 383.9 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2594, allocations: 1.125 kB / 383.9 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2594, allocations: 1 kB / 383.9 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.2601, allocations: 0.597 MB / 384.5 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2601, allocations: 1.344 kB / 384.5 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.2603, allocations: 27.61 kB / 384.5 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.2604, allocations: 31.59 kB / 384.5 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2604, allocations: 9.281 kB / 384.5 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007086/0.2611, allocations: 1.373 MB / 385.9 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2611, allocations: 0 / 385.9 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.2616, allocations: 344.1 kB / 386.2 MB, free: 35.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.2616, allocations: 93.33 kB / 386.3 MB, free: 35.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2616, allocations: 5.344 kB / 386.3 MB, free: 35.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.2617, allocations: 7.938 kB / 386.3 MB, free: 35.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.2618, allocations: 14.41 kB / 386.3 MB, free: 35.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.2618, allocations: 6.781 kB / 386.4 MB, free: 35.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.2619, allocations: 117.9 kB / 386.5 MB, free: 35.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2619, allocations: 0 / 386.5 MB, free: 35.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.2621, allocations: 41.75 kB / 386.5 MB, free: 35.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006337/0.2628, allocations: 0.8704 MB / 387.4 MB, free: 34.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.2633, allocations: 270.6 kB / 387.6 MB, free: 34.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2633, allocations: 0 / 387.6 MB, free: 34.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.2635, allocations: 194 kB / 387.8 MB, free: 34.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2638, allocations: 26.62 kB / 387.9 MB, free: 34.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2654, allocations: 1.248 MB / 389.1 MB, free: 33.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.2656, allocations: 0.7289 MB / 389.8 MB, free: 32.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.2657, allocations: 56.88 kB / 389.9 MB, free: 32.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2657, allocations: 0 / 389.9 MB, free: 32.89 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.866/3.132, allocations: 3.472 MB / 393.4 MB, free: 29.64 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches