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.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.001369/0.001369, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.00137/0.00137, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.336/1.336, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.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.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_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 51.92 kB / 343 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2447, allocations: 49.14 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00282/0.2475, allocations: 2.124 MB / 394.2 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.2483, allocations: 0.5875 MB / 394.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2484, allocations: 8.375 kB / 394.8 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.2486, allocations: 36.11 kB / 394.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.2487, allocations: 52.89 kB / 394.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.2488, allocations: 48.91 kB / 395 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.249, allocations: 211.5 kB / 395.2 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2492, allocations: 50.16 kB / 395.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.2493, allocations: 80.58 kB / 395.3 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.2494, allocations: 83.95 kB / 395.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.2494, allocations: 16.78 kB / 395.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.18e-05/0.2494, allocations: 20.72 kB / 395.4 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.2495, allocations: 35.38 kB / 395.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.2496, allocations: 90.02 kB / 395.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.2498, allocations: 209.5 kB / 395.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2498, allocations: 9.031 kB / 395.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2498, allocations: 0 / 395.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2498, allocations: 0 / 395.8 MB, free: 6.336 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.0005817/0.2504, allocations: 482.5 kB / 396.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2505, allocations: 10.22 kB / 396.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.47e-05/0.2505, allocations: 5.422 kB / 396.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2505, allocations: 55.11 kB / 396.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.2506, allocations: 23.7 kB / 396.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.2508, allocations: 214.8 kB / 396.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.2508, allocations: 14.16 kB / 396.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.2508, allocations: 20.61 kB / 396.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2511, allocations: 161.2 kB / 396.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2512, allocations: 4.562 kB / 396.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2512, allocations: 6.469 kB / 396.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2512, allocations: 3.375 kB / 396.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.2514, allocations: 98.97 kB / 396.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.2522, allocations: 0.5876 MB / 397.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2524, allocations: 115.9 kB / 397.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.2525, allocations: 40.08 kB / 397.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.2525, allocations: 4.062 kB / 397.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.2525, allocations: 35.75 kB / 397.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2525, allocations: 0 / 397.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001372/0.2539, allocations: 0.8022 MB / 398.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.2539, allocations: 54.52 kB / 398.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.254, allocations: 161.3 kB / 398.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.2541, allocations: 25.7 kB / 398.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.2541, allocations: 128 kB / 398.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.2542, allocations: 67.39 kB / 398.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.2542, allocations: 37.34 kB / 398.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.253e-05/0.2543, allocations: 331 kB / 399.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2544, allocations: 41.73 kB / 399.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2545, allocations: 76.81 kB / 399.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.2547, allocations: 133.8 kB / 399.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2547, allocations: 1.375 kB / 399.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003499/0.255, allocations: 213.3 kB / 399.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.255, allocations: 13.78 kB / 399.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2551, allocations: 1.125 kB / 399.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.2552, allocations: 39.84 kB / 399.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.2554, allocations: 34.34 kB / 399.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000922/0.2563, allocations: 1.537 MB / 401.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.2564, allocations: 7.406 kB / 401.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2564, allocations: 8.469 kB / 401.3 MB, free: 1.758 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 8.63e-05/0.2565, allocations: 129.8 kB / 401.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.2565, allocations: 16.16 kB / 401.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2566, allocations: 19.91 kB / 401.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2566, allocations: 1.375 kB / 401.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2566, allocations: 8.062 kB / 401.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2566, allocations: 0 / 401.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007099/0.2573, allocations: 0.5777 MB / 402 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2573, allocations: 0 / 402 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2574, allocations: 30.52 kB / 402.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.2575, allocations: 31.48 kB / 402.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2575, allocations: 5.406 kB / 402.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009166/0.2585, allocations: 1.483 MB / 403.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2585, allocations: 0 / 403.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.259, allocations: 345.1 kB / 403.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.2591, allocations: 89.61 kB / 404 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.2591, allocations: 5.781 kB / 404 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.2592, allocations: 3.625 kB / 404 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.2592, allocations: 15.09 kB / 404 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2592, allocations: 7.812 kB / 404 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.807e-05/0.2593, allocations: 129.9 kB / 404.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2593, allocations: 0 / 404.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.2596, allocations: 46.5 kB / 404.2 MB, free: 15.21 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.0008669/0.2605, allocations: 0.863 MB / 405.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.261, allocations: 259.4 kB / 405.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.261, allocations: 0 / 405.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2613, allocations: 188 kB / 405.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.2616, allocations: 32.88 kB / 405.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.2644, allocations: 2.146 MB / 407.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.2647, allocations: 0.7292 MB / 408.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.367e-05/0.2648, allocations: 14.44 kB / 408.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.2649, allocations: 52.14 kB / 408.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2649, allocations: 0 / 408.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.2922, allocations: 3.819 MB / 412.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.802/10.09, allocations: 15.2 kB / 412.3 MB, free: 10.65 MB / 334.1 MB " [Timeout remaining time 650] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.430167676997371]