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.001519/0.001519, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001746/0.001746, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.325/1.325, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001159/0.001159, allocations: 47.94 kB / 280.2 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08602, allocations: 46.63 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003487/0.08955, allocations: 2.155 MB / 329 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.09051, allocations: 0.5697 MB / 329.6 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.09068, allocations: 4 kB / 329.6 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.09084, allocations: 23.78 kB / 329.6 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.468e-05/0.09094, allocations: 47.62 kB / 329.7 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.09111, allocations: 39.95 kB / 329.7 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.09137, allocations: 207.1 kB / 329.9 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.09162, allocations: 73.64 kB / 330 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.09171, allocations: 71.78 kB / 330.1 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.09183, allocations: 83.62 kB / 330.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.09187, allocations: 16 kB / 330.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.09194, allocations: 20 kB / 330.2 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.09198, allocations: 31.86 kB / 330.2 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.09207, allocations: 103.5 kB / 330.3 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.09238, allocations: 207.5 kB / 330.5 MB, free: 1.016 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.09239, allocations: 4 kB / 330.5 MB, free: 1.012 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0924, allocations: 0 / 330.5 MB, free: 1.012 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.09242, allocations: 3.938 kB / 330.5 MB, free: 1.008 MB / 270.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.0008649/0.09329, allocations: 482.6 kB / 331 MB, free: 500 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.09334, allocations: 8.031 kB / 331 MB, free: 492 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.09341, allocations: 50.73 kB / 331.1 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.09345, allocations: 16.75 kB / 331.1 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.09367, allocations: 224 kB / 331.3 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.0937, allocations: 16.38 kB / 331.3 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.09373, allocations: 16.38 kB / 331.3 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.0941, allocations: 157.6 kB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.09412, allocations: 0 / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.09415, allocations: 11.94 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.09416, allocations: 4 kB / 331.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.09437, allocations: 103.7 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.09525, allocations: 0.6003 MB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.09548, allocations: 118.6 kB / 332.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.09558, allocations: 44.84 kB / 332.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.0956, allocations: 4 kB / 332.4 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.09563, allocations: 34.5 kB / 332.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.09563, allocations: 0 / 332.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001616/0.09725, allocations: 0.7952 MB / 333.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.0973, allocations: 55.31 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.09745, allocations: 162.2 kB / 333.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.09748, allocations: 29.7 kB / 333.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.09755, allocations: 128.3 kB / 333.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.09767, allocations: 63.09 kB / 333.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.09777, allocations: 41.64 kB / 333.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.09788, allocations: 330.8 kB / 334 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.64e-05/0.09798, allocations: 39.98 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.09812, allocations: 79.36 kB / 334.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.09833, allocations: 128.5 kB / 334.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.09834, allocations: 4 kB / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004018/0.09875, allocations: 206.8 kB / 334.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.09877, allocations: 8 kB / 334.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.09878, allocations: 0 / 334.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.09896, allocations: 44.77 kB / 334.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.09911, allocations: 27.98 kB / 334.5 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.1005, allocations: 1.543 MB / 336 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.1006, allocations: 12.02 kB / 336.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1006, allocations: 12 kB / 336.1 MB, free: 10.96 MB / 286.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.0001145/0.1007, allocations: 133.8 kB / 336.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1008, allocations: 7.906 kB / 336.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.357e-05/0.1008, allocations: 25.17 kB / 336.2 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1009, allocations: 4 kB / 336.2 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1009, allocations: 3.938 kB / 336.2 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1009, allocations: 0 / 336.2 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.1017, allocations: 0.5916 MB / 336.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1017, allocations: 0 / 336.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1019, allocations: 27.92 kB / 336.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.102, allocations: 36.83 kB / 336.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.102, allocations: 8 kB / 336.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.1032, allocations: 1.485 MB / 338.4 MB, free: 8.426 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1033, allocations: 4.031 kB / 338.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1037, allocations: 336 kB / 338.7 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1038, allocations: 89.03 kB / 338.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1038, allocations: 4 kB / 338.8 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1039, allocations: 4 kB / 338.8 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.104, allocations: 11.98 kB / 338.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.104, allocations: 4 kB / 338.8 MB, free: 7.945 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.122e-05/0.1041, allocations: 123.2 kB / 338.9 MB, free: 7.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1041, allocations: 0 / 338.9 MB, free: 7.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1044, allocations: 51.94 kB / 339 MB, free: 7.773 MB / 286.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.0008043/0.1052, allocations: 0.8684 MB / 339.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.1057, allocations: 264.8 kB / 340.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1057, allocations: 0 / 340.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.1059, allocations: 194.5 kB / 340.3 MB, free: 6.406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1064, allocations: 24.25 kB / 340.3 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.109, allocations: 2.194 MB / 342.5 MB, free: 4.082 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1093, allocations: 0.7242 MB / 343.3 MB, free: 3.332 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.835e-05/0.1094, allocations: 21.48 kB / 343.3 MB, free: 3.312 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1095, allocations: 55.36 kB / 343.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1095, allocations: 0 / 343.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3786/0.4881, allocations: 3.565 MB / 346.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.4884, allocations: 218.4 kB / 347.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.66, allocations: 0 / 347.1 MB, free: 15.43 MB / 302.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","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches