Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 215 kB / 21.45 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 55.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1011, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003436/0.1045, allocations: 2.156 MB / 429.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1056, allocations: 0.5764 MB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1057, allocations: 4 kB / 429.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1058, allocations: 31.66 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.106, allocations: 55.55 kB / 429.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1062, allocations: 47.88 kB / 429.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1064, allocations: 203.1 kB / 430.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.1066, allocations: 61.64 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.1067, allocations: 71.78 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1068, allocations: 87.61 kB / 430.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.1069, allocations: 16 kB / 430.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.1069, allocations: 16 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.107, allocations: 35.86 kB / 430.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.1071, allocations: 91.53 kB / 430.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.1074, allocations: 219.1 kB / 430.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1074, allocations: 0 / 430.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1074, allocations: 0 / 430.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1074, allocations: 0 / 430.7 MB, free: 1.129 MB / 350.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.0007844/0.1082, allocations: 478.7 kB / 431.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1082, allocations: 8.031 kB / 431.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.512e-05/0.1082, allocations: 7.969 kB / 431.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.1083, allocations: 54.73 kB / 431.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1083, allocations: 16.84 kB / 431.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.1087, allocations: 236 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1087, allocations: 12.38 kB / 431.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.1088, allocations: 20.38 kB / 431.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.1091, allocations: 145.6 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1091, allocations: 11.92 kB / 431.6 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1091, allocations: 4 kB / 431.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1091, allocations: 4 kB / 431.6 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1759/0.285, allocations: 104.5 kB / 431.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.2859, allocations: 0.5826 MB / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2861, allocations: 112.2 kB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.2862, allocations: 42.86 kB / 432.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2862, allocations: 1 kB / 432.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.2862, allocations: 31.88 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2862, allocations: 3.812 kB / 432.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001335/0.2875, allocations: 0.8025 MB / 433.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.2876, allocations: 53.44 kB / 433.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.2877, allocations: 156.3 kB / 433.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2877, allocations: 30.42 kB / 433.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.2877, allocations: 134 kB / 433.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2878, allocations: 71.17 kB / 433.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.2878, allocations: 37.91 kB / 433.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.2879, allocations: 324.6 kB / 434.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.288, allocations: 42.25 kB / 434.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2881, allocations: 84.98 kB / 434.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.2883, allocations: 126 kB / 434.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2883, allocations: 0.875 kB / 434.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003189/0.2886, allocations: 206.6 kB / 434.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2886, allocations: 7.406 kB / 434.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2886, allocations: 5.031 kB / 434.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.2888, allocations: 48.16 kB / 434.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.2889, allocations: 29.62 kB / 434.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008426/0.2897, allocations: 1.531 MB / 436.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.2898, allocations: 10.39 kB / 436.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2898, allocations: 11.44 kB / 436.2 MB, free: 8.285 MB / 350.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 7.45e-05/0.2899, allocations: 133 kB / 436.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.2899, allocations: 13.22 kB / 436.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.29, allocations: 22.38 kB / 436.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.29, allocations: 2.438 kB / 436.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.29, allocations: 4.969 kB / 436.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.29, allocations: 0 / 436.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.2906, allocations: 0.5867 MB / 436.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2906, allocations: 5.328 kB / 436.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2908, allocations: 27.05 kB / 437 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.2909, allocations: 30.59 kB / 437 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2909, allocations: 5.094 kB / 437 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000724/0.2916, allocations: 1.479 MB / 438.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2916, allocations: 4.359 kB / 438.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.292, allocations: 346.1 kB / 438.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.292, allocations: 88.89 kB / 438.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2921, allocations: 7.031 kB / 438.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.2921, allocations: 2.062 kB / 438.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.2922, allocations: 23.09 kB / 439 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2922, allocations: 3.844 kB / 439 MB, free: 6.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.289e-05/0.2923, allocations: 121.6 kB / 439.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2923, allocations: 0 / 439.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.2925, allocations: 45.88 kB / 439.1 MB, free: 5.914 MB / 350.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.0005573/0.2931, allocations: 0.8658 MB / 440 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.2935, allocations: 247.7 kB / 440.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2935, allocations: 1.344 kB / 440.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.2937, allocations: 191 kB / 440.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.294, allocations: 31.91 kB / 440.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.296, allocations: 2.141 MB / 442.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2962, allocations: 0.728 MB / 443.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.2962, allocations: 17.08 kB / 443.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.2963, allocations: 52.55 kB / 443.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2963, allocations: 0.9375 kB / 443.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.3274, allocations: 3.823 MB / 447.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.662/9.989, allocations: 9.469 kB / 447.2 MB, free: 1.902 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 12.4380987000186]