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.001419/0.001419, allocations: 111.5 kB / 17.06 MB, free: 6.102 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.001718/0.001718, allocations: 200 kB / 18 MB, free: 5.18 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 47.91 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2435, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00301/0.2466, allocations: 2.111 MB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.2474, allocations: 0.5415 MB / 402.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2475, allocations: 4 kB / 402.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.2477, allocations: 31.66 kB / 402.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.593e-05/0.2478, allocations: 51.55 kB / 403 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.248, allocations: 59.88 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.2482, allocations: 203.1 kB / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.2484, allocations: 77.62 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.2485, allocations: 75.66 kB / 403.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.2486, allocations: 87.62 kB / 403.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.2486, allocations: 16 kB / 403.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.2487, allocations: 16 kB / 403.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.2487, allocations: 39.89 kB / 403.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.2488, allocations: 95.55 kB / 403.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.249, allocations: 209 kB / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.249, allocations: 0 / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.249, allocations: 0 / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2491, allocations: 0 / 403.8 MB, free: 5.207 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.0006213/0.2497, allocations: 478.8 kB / 404.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2497, allocations: 11.97 kB / 404.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.2498, allocations: 54.73 kB / 404.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.2498, allocations: 16.75 kB / 404.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.2501, allocations: 222.6 kB / 404.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2501, allocations: 16.38 kB / 404.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.2501, allocations: 16.38 kB / 404.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.2504, allocations: 153.5 kB / 404.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2504, allocations: 8 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.2505, allocations: 4 kB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2505, allocations: 11.94 kB / 404.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.2507, allocations: 103.7 kB / 404.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.2515, allocations: 0.5848 MB / 405.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.2517, allocations: 122.6 kB / 405.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.2518, allocations: 44.78 kB / 405.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2518, allocations: 3.984 kB / 405.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.2519, allocations: 34.56 kB / 405.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2519, allocations: 0 / 405.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001435/0.2533, allocations: 0.8002 MB / 406.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2534, allocations: 55.39 kB / 406.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2535, allocations: 158.2 kB / 406.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2535, allocations: 25.7 kB / 406.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.2536, allocations: 132.3 kB / 406.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.2537, allocations: 67.09 kB / 406.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.2537, allocations: 33.72 kB / 406.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2539, allocations: 330.8 kB / 407.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.254, allocations: 43.97 kB / 407.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2541, allocations: 72.72 kB / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.2543, allocations: 138.3 kB / 407.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2543, allocations: 0 / 407.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003683/0.2547, allocations: 210 kB / 407.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2547, allocations: 8 kB / 407.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2547, allocations: 0 / 407.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.2549, allocations: 44.89 kB / 407.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.2551, allocations: 31.92 kB / 407.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.2563, allocations: 1.535 MB / 409.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.2564, allocations: 8.031 kB / 409.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2564, allocations: 7.984 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.0001093/0.2565, allocations: 125.8 kB / 409.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.2566, allocations: 19.88 kB / 409.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.2566, allocations: 21.19 kB / 409.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2566, allocations: 0 / 409.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2567, allocations: 7.938 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2567, allocations: 8.016 kB / 409.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.2574, allocations: 0.58 MB / 410.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2574, allocations: 0 / 410.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.2576, allocations: 35.98 kB / 410.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.2577, allocations: 40.7 kB / 410.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2577, allocations: 7.938 kB / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009851/0.2587, allocations: 1.465 MB / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2588, allocations: 0 / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.2592, allocations: 350.2 kB / 412 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.2593, allocations: 85.05 kB / 412.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2593, allocations: 11.98 kB / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.2594, allocations: 4 kB / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2595, allocations: 15.92 kB / 412.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2595, allocations: 4 kB / 412.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.801e-05/0.2596, allocations: 115.2 kB / 412.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2596, allocations: 4 kB / 412.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.2599, allocations: 47.94 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.000708/0.2606, allocations: 0.8718 MB / 413.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.261, allocations: 262.6 kB / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.261, allocations: 0 / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.2613, allocations: 190.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.000336/0.2616, allocations: 28.06 kB / 413.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.264, allocations: 2.141 MB / 415.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2643, allocations: 0.7281 MB / 416.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.2644, allocations: 13.55 kB / 416.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.2644, allocations: 47.42 kB / 416.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2644, allocations: 0 / 416.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.2898, allocations: 3.812 MB / 420.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.335/9.625, allocations: 3.281 kB / 420.4 MB, free: 3.852 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