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.001465/0.00147, allocations: 113.2 kB / 17.06 MB, free: 5.977 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.001644/0.001644, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.295/1.295, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 43.94 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2485, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002916/0.2514, allocations: 2.11 MB / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.2522, allocations: 0.5415 MB / 402.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.2523, allocations: 4 kB / 402.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.2525, allocations: 31.66 kB / 402.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.2526, allocations: 55.55 kB / 403 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.2527, allocations: 51.89 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.253, allocations: 211 kB / 403.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.2531, allocations: 73.62 kB / 403.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.2532, allocations: 79.7 kB / 403.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2533, allocations: 79.64 kB / 403.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.2534, allocations: 16 kB / 403.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.02e-05/0.2534, allocations: 24 kB / 403.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.2534, allocations: 31.91 kB / 403.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.2535, allocations: 95.53 kB / 403.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.2538, allocations: 216.9 kB / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2538, allocations: 0 / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2538, allocations: 0 / 403.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2538, allocations: 0 / 403.8 MB, free: 5.199 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.0005745/0.2544, allocations: 478.8 kB / 404.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2544, allocations: 8.031 kB / 404.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.2545, allocations: 46.73 kB / 404.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.2545, allocations: 20.75 kB / 404.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.2547, allocations: 224 kB / 404.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2548, allocations: 16.38 kB / 404.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.2548, allocations: 16.38 kB / 404.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.2551, allocations: 157.5 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2551, allocations: 4 kB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2551, allocations: 8 kB / 404.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2551, allocations: 7.938 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.2554, allocations: 103.7 kB / 404.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.2561, allocations: 0.5887 MB / 405.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.2563, allocations: 114.6 kB / 405.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.2564, allocations: 44.78 kB / 405.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.2565, allocations: 0 / 405.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2565, allocations: 34.5 kB / 405.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 8.51e-07/0.2565, allocations: 0 / 405.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001386/0.2579, allocations: 0.8092 MB / 406.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2579, allocations: 55.41 kB / 406.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2581, allocations: 162.2 kB / 406.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2581, allocations: 25.7 kB / 406.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.2582, allocations: 140.2 kB / 406.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.2582, allocations: 59.11 kB / 406.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.2583, allocations: 37.7 kB / 406.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2584, allocations: 330.8 kB / 407.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.2585, allocations: 35.98 kB / 407.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.2586, allocations: 80.7 kB / 407.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.2588, allocations: 139.3 kB / 407.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2588, allocations: 0 / 407.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003583/0.2592, allocations: 206.1 kB / 407.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2592, allocations: 12.05 kB / 407.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2592, allocations: 4 kB / 407.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.2594, allocations: 32.84 kB / 407.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2596, allocations: 35.92 kB / 407.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.2607, allocations: 1.539 MB / 409.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.2608, allocations: 8.031 kB / 409.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.2609, allocations: 4 kB / 409.3 MB, free: 15.18 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.0001068/0.261, allocations: 133.8 kB / 409.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.261, allocations: 19.81 kB / 409.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.2611, allocations: 21.17 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2611, allocations: 0 / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.2611, allocations: 3.938 kB / 409.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2611, allocations: 0 / 409.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.2618, allocations: 0.584 MB / 410.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2618, allocations: 0 / 410.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.262, allocations: 31.92 kB / 410.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.2621, allocations: 36.77 kB / 410.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2621, allocations: 7.938 kB / 410.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009756/0.2631, allocations: 1.477 MB / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2631, allocations: 0 / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.2636, allocations: 346 kB / 412 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.2636, allocations: 85.05 kB / 412.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.2637, allocations: 12 kB / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.2638, allocations: 0 / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.2638, allocations: 15.98 kB / 412.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.2638, allocations: 7.984 kB / 412.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.415e-05/0.2639, allocations: 111.3 kB / 412.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2639, allocations: 64 / 412.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.2642, allocations: 59.92 kB / 412.3 MB, free: 11.98 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.0007285/0.2649, allocations: 0.8711 MB / 413.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.2654, allocations: 254.4 kB / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2654, allocations: 0 / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.2657, allocations: 194.5 kB / 413.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.266, allocations: 20 kB / 413.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.2684, allocations: 2.142 MB / 415.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2686, allocations: 0.7281 MB / 416.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.2687, allocations: 13.55 kB / 416.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.2688, allocations: 51.41 kB / 416.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2688, allocations: 0 / 416.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.2952, allocations: 3.808 MB / 420.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.948/9.243, allocations: 7.188 kB / 420.4 MB, free: 3.848 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