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.001298/0.001298, allocations: 102.6 kB / 17.72 MB, free: 5.359 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.001397/0.001397, allocations: 187.1 kB / 18.66 MB, free: 4.434 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.269/1.269, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001286/0.001286, allocations: 55.92 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08311, allocations: 46.62 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003014/0.08617, allocations: 2.121 MB / 376.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000884/0.08708, allocations: 0.5889 MB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.0872, allocations: 7.938 kB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.08738, allocations: 27.72 kB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.08748, allocations: 51.48 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.08765, allocations: 51.95 kB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.08788, allocations: 207 kB / 377.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.08805, allocations: 77.61 kB / 377.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.08814, allocations: 67.8 kB / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.08827, allocations: 91.55 kB / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.08831, allocations: 16 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.08834, allocations: 16 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.08839, allocations: 43.84 kB / 378 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.08848, allocations: 91.55 kB / 378.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.08871, allocations: 215.5 kB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.08872, allocations: 0 / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08873, allocations: 0 / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.08874, allocations: 0 / 378.3 MB, free: 1.434 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.000626/0.08937, allocations: 470.9 kB / 378.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.08941, allocations: 16.03 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.08946, allocations: 46.73 kB / 378.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.08951, allocations: 24.66 kB / 378.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.08984, allocations: 220 kB / 379 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.08987, allocations: 16.38 kB / 379.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.08991, allocations: 12.38 kB / 379.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.0902, allocations: 165.2 kB / 379.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.09023, allocations: 4 kB / 379.2 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.09025, allocations: 4 kB / 379.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.09026, allocations: 12 kB / 379.2 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.09048, allocations: 95.94 kB / 379.3 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1606/0.2511, allocations: 0.5774 MB / 379.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.2514, allocations: 120.8 kB / 380 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/0.2515, allocations: 41.3 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2515, allocations: 5.656 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2515, allocations: 35.56 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.305e-06/0.2515, allocations: 0 / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001352/0.2529, allocations: 0.8008 MB / 380.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.2529, allocations: 54.25 kB / 381 MB, free: 12.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.253, allocations: 160.5 kB / 381.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2531, allocations: 31.67 kB / 381.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.2531, allocations: 126.2 kB / 381.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.2532, allocations: 64.45 kB / 381.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.2532, allocations: 38.42 kB / 381.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.2533, allocations: 326.2 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.2534, allocations: 42.14 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2535, allocations: 75.3 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2537, allocations: 138.4 kB / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2537, allocations: 0 / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003376/0.2541, allocations: 210.1 kB / 382.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2541, allocations: 9.906 kB / 382.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2541, allocations: 1.703 kB / 382.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.2543, allocations: 41.55 kB / 382.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.2545, allocations: 30.22 kB / 382.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000983/0.2554, allocations: 1.546 MB / 383.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.2555, allocations: 3.594 kB / 383.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2556, allocations: 9.5 kB / 383.8 MB, free: 10.06 MB / 318.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.297e-05/0.2557, allocations: 130.6 kB / 383.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.2557, allocations: 19.34 kB / 383.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.2558, allocations: 25.69 kB / 384 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2558, allocations: 3.156 kB / 384 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2558, allocations: 1.531 kB / 384 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2558, allocations: 1.172 kB / 384 MB, free: 9.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.2566, allocations: 0.5859 MB / 384.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2566, allocations: 1.062 kB / 384.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.2568, allocations: 32.61 kB / 384.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.2569, allocations: 32.22 kB / 384.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2569, allocations: 4 kB / 384.6 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008072/0.2577, allocations: 1.476 MB / 386.1 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2577, allocations: 4.578 kB / 386.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.2582, allocations: 337.2 kB / 386.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.2582, allocations: 85.28 kB / 386.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.2582, allocations: 9.969 kB / 386.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.2583, allocations: 8.297 kB / 386.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.2584, allocations: 14.75 kB / 386.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2584, allocations: 2.938 kB / 386.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.314e-05/0.2585, allocations: 122.5 kB / 386.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2585, allocations: 0 / 386.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.2588, allocations: 42.91 kB / 386.7 MB, free: 7.551 MB / 318.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.000643/0.2595, allocations: 0.8737 MB / 387.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.2599, allocations: 248.3 kB / 387.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.26, allocations: 0 / 387.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.2602, allocations: 206.3 kB / 388 MB, free: 6.492 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2605, allocations: 27.05 kB / 388.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.2627, allocations: 2.125 MB / 390.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.2629, allocations: 0.7294 MB / 390.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.113e-05/0.263, allocations: 17.84 kB / 390.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.2631, allocations: 52.89 kB / 391 MB, free: 4.117 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2631, allocations: 3.938 kB / 391 MB, free: 4.113 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.2884, allocations: 3.812 MB / 394.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/9.427, allocations: 9.391 kB / 394.8 MB, free: 3.359 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches