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.001488/0.001488, allocations: 99.67 kB / 17.58 MB, free: 5.418 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.001464/0.001464, allocations: 192 kB / 18.51 MB, free: 4.508 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.518/1.518, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001279/0.001279, allocations: 55.92 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09909, allocations: 46.62 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003955/0.1031, allocations: 2.105 MB / 329.5 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1042, allocations: 0.5853 MB / 330.1 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.1044, allocations: 8 kB / 330.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1047, allocations: 31.66 kB / 330.1 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.105, allocations: 59.48 kB / 330.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1052, allocations: 43.89 kB / 330.2 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.1056, allocations: 207.1 kB / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1058, allocations: 69.64 kB / 330.5 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.106, allocations: 75.72 kB / 330.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1062, allocations: 83.62 kB / 330.6 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.1062, allocations: 16 kB / 330.6 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.1063, allocations: 20 kB / 330.7 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1063, allocations: 35.84 kB / 330.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1065, allocations: 91.55 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1068, allocations: 211.5 kB / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1068, allocations: 0 / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1068, allocations: 0 / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.1068, allocations: 0 / 331 MB, free: 0.7227 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.0008004/0.1076, allocations: 490.5 kB / 331.5 MB, free: 200 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1077, allocations: 8.031 kB / 331.5 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.1078, allocations: 50.73 kB / 331.5 MB, free: 132 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.1078, allocations: 20.75 kB / 331.6 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.1082, allocations: 224 kB / 331.8 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.1082, allocations: 16.38 kB / 331.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.1083, allocations: 16.38 kB / 331.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.1089, allocations: 157.5 kB / 332 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.1089, allocations: 4 kB / 332 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1089, allocations: 8 kB / 332 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1089, allocations: 4 kB / 332 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.1092, allocations: 103.7 kB / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1103, allocations: 0.5926 MB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1105, allocations: 114.6 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.1106, allocations: 44.83 kB / 332.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1107, allocations: 8 kB / 332.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1107, allocations: 30.56 kB / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.1107, allocations: 0 / 332.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001891/0.1126, allocations: 0.799 MB / 333.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.1127, allocations: 55.31 kB / 333.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1129, allocations: 162.2 kB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1129, allocations: 25.7 kB / 333.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.113, allocations: 136.2 kB / 334 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.1131, allocations: 59.11 kB / 334.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.1132, allocations: 45.64 kB / 334.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.1134, allocations: 330.8 kB / 334.5 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1135, allocations: 43.97 kB / 334.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1136, allocations: 71.41 kB / 334.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1139, allocations: 136.6 kB / 334.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.114, allocations: 4 kB / 334.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004402/0.1144, allocations: 206.8 kB / 334.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1145, allocations: 8 kB / 334.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1145, allocations: 0 / 334.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.1147, allocations: 44.89 kB / 335 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1148, allocations: 31.92 kB / 335 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.1163, allocations: 1.535 MB / 336.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1165, allocations: 8.031 kB / 336.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1165, allocations: 4 kB / 336.5 MB, free: 10.68 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.00018/0.1167, allocations: 137.9 kB / 336.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1168, allocations: 7.906 kB / 336.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.1169, allocations: 21.19 kB / 336.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.1169, allocations: 4 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.1169, allocations: 7.875 kB / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1169, allocations: 0 / 336.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.1178, allocations: 0.5955 MB / 337.3 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1178, allocations: 0 / 337.3 MB, free: 9.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.118, allocations: 31.92 kB / 337.3 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.1181, allocations: 29.03 kB / 337.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1182, allocations: 12 kB / 337.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.1195, allocations: 1.473 MB / 338.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1195, allocations: 4.031 kB / 338.9 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.1201, allocations: 335.9 kB / 339.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.1201, allocations: 85.05 kB / 339.3 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1202, allocations: 4 kB / 339.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1203, allocations: 12.11 kB / 339.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.1203, allocations: 11.98 kB / 339.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1204, allocations: 4 kB / 339.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1205, allocations: 119.2 kB / 339.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1205, allocations: 0 / 339.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000398/0.1209, allocations: 47.94 kB / 339.5 MB, free: 7.5 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.0009718/0.1219, allocations: 0.8645 MB / 340.3 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000554/0.1224, allocations: 270.3 kB / 340.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/0.1225, allocations: 4.188 kB / 340.6 MB, free: 6.328 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.1229, allocations: 190.6 kB / 340.8 MB, free: 6.129 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.1233, allocations: 38.38 kB / 340.8 MB, free: 6.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.1263, allocations: 2.12 MB / 342.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.1267, allocations: 0.7242 MB / 343.7 MB, free: 3.113 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.1267, allocations: 21.53 kB / 343.7 MB, free: 3.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/0.1268, allocations: 55.36 kB / 343.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1268, allocations: 0 / 343.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.1547, allocations: 3.661 MB / 347.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.141/9.296, allocations: 11.69 kB / 347.4 MB, free: 15.3 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","/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