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.001314/0.001314, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001413/0.001413, allocations: 212 kB / 24.47 MB, free: 3.547 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.378/1.378, allocations: 207.7 MB / 235.3 MB, free: 9.805 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="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.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.001875/0.001875, allocations: 62.31 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2243, allocations: 49.16 MB / 396.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002649/0.2269, allocations: 2.011 MB / 398.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.2277, allocations: 0.5712 MB / 398.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.2278, allocations: 3.406 kB / 398.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.2279, allocations: 36.31 kB / 399 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.228, allocations: 53.89 kB / 399 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.2281, allocations: 48.81 kB / 399.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.2283, allocations: 206 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2285, allocations: 50.59 kB / 399.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.2286, allocations: 76.52 kB / 399.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2287, allocations: 67.94 kB / 399.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.2287, allocations: 20.23 kB / 399.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.193e-05/0.2287, allocations: 20.94 kB / 399.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.2288, allocations: 39.66 kB / 399.5 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.2288, allocations: 78.16 kB / 399.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.229, allocations: 212.6 kB / 399.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.229, allocations: 5.375 kB / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.229, allocations: 0 / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2291, allocations: 0 / 399.8 MB, free: 6.723 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.0005275/0.2296, allocations: 402.2 kB / 400.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2296, allocations: 18.3 kB / 400.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.2297, allocations: 47.61 kB / 400.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.2297, allocations: 23.55 kB / 400.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.23, allocations: 165 kB / 400.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.23, allocations: 11.09 kB / 400.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.23, allocations: 16.69 kB / 400.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.2304, allocations: 165 kB / 400.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2304, allocations: 2.109 kB / 400.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.2304, allocations: 5.156 kB / 400.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2304, allocations: 8.594 kB / 400.7 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.2307, allocations: 102.5 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.2315, allocations: 0.5151 MB / 401.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.2317, allocations: 104.6 kB / 401.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.2318, allocations: 43.23 kB / 401.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2318, allocations: 1.062 kB / 401.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.2318, allocations: 33.73 kB / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2318, allocations: 4 kB / 401.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001293/0.2331, allocations: 0.6608 MB / 402.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.2331, allocations: 54.28 kB / 402.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2333, allocations: 160 kB / 402.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.2333, allocations: 26.7 kB / 402.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.2333, allocations: 136.5 kB / 402.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.2334, allocations: 68.03 kB / 402.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.2334, allocations: 36.95 kB / 402.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.2334, allocations: 330.4 kB / 402.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.2335, allocations: 42 kB / 403 MB, free: 4.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2336, allocations: 76.89 kB / 403 MB, free: 4.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.2338, allocations: 134.5 kB / 403.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2338, allocations: 5.828 kB / 403.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003344/0.2342, allocations: 202.8 kB / 403.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2342, allocations: 5.109 kB / 403.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2342, allocations: 1.125 kB / 403.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.2344, allocations: 44.53 kB / 403.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2345, allocations: 29.59 kB / 403.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008558/0.2353, allocations: 1.428 MB / 404.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.2354, allocations: 8.938 kB / 404.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2354, allocations: 8.719 kB / 404.9 MB, free: 2.668 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.352e-05/0.2355, allocations: 132 kB / 405 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.2356, allocations: 14.81 kB / 405 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.2356, allocations: 21.28 kB / 405.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2356, allocations: 2.406 kB / 405.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2356, allocations: 10.08 kB / 405.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2356, allocations: 0.7969 kB / 405.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.2363, allocations: 0.5266 MB / 405.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2363, allocations: 1.125 kB / 405.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.2364, allocations: 29.67 kB / 405.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.2365, allocations: 37.92 kB / 405.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2365, allocations: 9.125 kB / 405.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006896/0.2372, allocations: 1.363 MB / 407 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2372, allocations: 1.344 kB / 407 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.2376, allocations: 336.5 kB / 407.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.2376, allocations: 15.72 kB / 407.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2377, allocations: 2.594 kB / 407.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.2378, allocations: 11.97 kB / 407.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.2378, allocations: 10.83 kB / 407.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2378, allocations: 12.62 kB / 407.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.2379, allocations: 117.5 kB / 407.5 MB, free: 428 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2379, allocations: 0 / 407.5 MB, free: 428 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.2382, allocations: 47.03 kB / 407.6 MB, free: 420 kB / 318.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.000687/0.2389, allocations: 0.8634 MB / 408.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.2393, allocations: 256.5 kB / 408.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2393, allocations: 0 / 408.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2396, allocations: 187.8 kB / 408.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2399, allocations: 24.56 kB / 408.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.2424, allocations: 2.154 MB / 411.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.2426, allocations: 122.4 kB / 411.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.2426, allocations: 18.92 kB / 411.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.2427, allocations: 48.09 kB / 411.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2427, allocations: 0 / 411.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/0.3941, allocations: 4.359 MB / 415.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.99, allocations: 5.203 kB / 415.6 MB, free: 11.62 MB / 334.1 MB " [Timeout remaining time 648] (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: 15.455331068951637]