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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002375/0.002375, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001648/0.001648, allocations: 59.89 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09151, allocations: 49.11 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003455/0.09496, allocations: 2.128 MB / 393.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.09603, allocations: 0.585 MB / 394.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.09615, allocations: 4 kB / 394.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.09633, allocations: 35.64 kB / 394.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.09644, allocations: 55.56 kB / 394.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.09663, allocations: 47.88 kB / 394.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.0969, allocations: 207.1 kB / 394.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.09707, allocations: 57.59 kB / 394.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.09716, allocations: 75.72 kB / 394.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.0973, allocations: 87.55 kB / 394.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.09735, allocations: 16 kB / 394.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.09738, allocations: 24 kB / 394.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.09743, allocations: 39.84 kB / 394.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.09752, allocations: 83.61 kB / 394.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.09781, allocations: 219.1 kB / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.09782, allocations: 0 / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09782, allocations: 0 / 395 MB, free: 5.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.09783, allocations: 0 / 395 MB, free: 5.094 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.0007352/0.09856, allocations: 478.6 kB / 395.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.0986, allocations: 16.03 kB / 395.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.361e-05/0.09866, allocations: 50.73 kB / 395.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.09871, allocations: 24.8 kB / 395.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.09903, allocations: 224 kB / 395.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.09905, allocations: 12.38 kB / 395.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.09909, allocations: 20.33 kB / 395.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.09941, allocations: 161.3 kB / 396 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.09942, allocations: 0 / 396 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.09944, allocations: 12 kB / 396 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.09945, allocations: 7.984 kB / 396 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.09968, allocations: 103.9 kB / 396.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/0.1006, allocations: 0.5811 MB / 396.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1008, allocations: 114.6 kB / 396.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1009, allocations: 36.84 kB / 396.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1009, allocations: 4 kB / 396.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1009, allocations: 34.56 kB / 396.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1009, allocations: 0 / 396.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001595/0.1025, allocations: 0.8063 MB / 397.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1026, allocations: 55.41 kB / 397.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1027, allocations: 154.2 kB / 397.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1028, allocations: 29.7 kB / 397.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.1029, allocations: 132.4 kB / 398 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.1029, allocations: 67.42 kB / 398.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.103, allocations: 33.72 kB / 398.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1032, allocations: 334.8 kB / 398.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1033, allocations: 43.98 kB / 398.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1034, allocations: 71.41 kB / 398.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.1036, allocations: 135.4 kB / 398.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1036, allocations: 3.938 kB / 398.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003846/0.104, allocations: 210.1 kB / 398.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.104, allocations: 4 kB / 398.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.104, allocations: 8.062 kB / 398.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.1042, allocations: 36.83 kB / 398.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1043, allocations: 39.92 kB / 399 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.1058, allocations: 1.536 MB / 400.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.1059, allocations: 12.02 kB / 400.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1059, allocations: 8 kB / 400.5 MB, free: 15.05 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.0001372/0.106, allocations: 125.9 kB / 400.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.106, allocations: 19.91 kB / 400.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.1061, allocations: 21.19 kB / 400.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1061, allocations: 0 / 400.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1061, allocations: 7.922 kB / 400.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1061, allocations: 7.938 kB / 400.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008446/0.107, allocations: 0.5685 MB / 401.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.107, allocations: 4 kB / 401.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1071, allocations: 27.92 kB / 401.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.1072, allocations: 36.83 kB / 401.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1072, allocations: 4 kB / 401.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.1085, allocations: 1.477 MB / 402.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1085, allocations: 0 / 402.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.109, allocations: 340.1 kB / 403.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.109, allocations: 93.03 kB / 403.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.1091, allocations: 4 kB / 403.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.1092, allocations: 8 kB / 403.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1092, allocations: 7.984 kB / 403.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1092, allocations: 4 kB / 403.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1093, allocations: 124.1 kB / 403.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1093, allocations: 0 / 403.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1096, allocations: 48 kB / 403.5 MB, free: 11.88 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.0008527/0.1105, allocations: 0.8658 MB / 404.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00052/0.111, allocations: 266.3 kB / 404.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.111, allocations: 0 / 404.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.1113, allocations: 186.6 kB / 404.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1116, allocations: 35.88 kB / 404.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.1143, allocations: 2.134 MB / 406.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.1148, allocations: 0.7359 MB / 407.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.1148, allocations: 17.53 kB / 407.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.1149, allocations: 51.42 kB / 407.7 MB, free: 7.41 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1149, allocations: 0 / 407.7 MB, free: 7.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.1466, allocations: 3.784 MB / 411.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.35, allocations: 19.94 kB / 411.5 MB, free: 3.555 MB / 334.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.02089097443968]