Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001247/0.001247, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001299/0.001299, allocations: 185.6 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 47.92 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2154, allocations: 52.19 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003225/0.2186, allocations: 2.019 MB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.2196, allocations: 0.5104 MB / 425.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2197, allocations: 8 kB / 425.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2198, allocations: 31.66 kB / 425.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.22, allocations: 59.48 kB / 426 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2202, allocations: 47.94 kB / 426 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.2204, allocations: 211 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.2206, allocations: 53.78 kB / 426.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.2207, allocations: 75.77 kB / 426.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2208, allocations: 83.62 kB / 426.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.2209, allocations: 20 kB / 426.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.721e-05/0.2209, allocations: 19.94 kB / 426.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.2209, allocations: 35.86 kB / 426.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.221, allocations: 75.66 kB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.2213, allocations: 217.2 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2213, allocations: 4 kB / 426.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2213, allocations: 0 / 426.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2213, allocations: 0 / 426.8 MB, free: 10.94 MB / 334.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.0007066/0.222, allocations: 401.5 kB / 427.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2221, allocations: 12.03 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.611e-05/0.2221, allocations: 4.188 kB / 427.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.2221, allocations: 46.73 kB / 427.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.2222, allocations: 24.8 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.2225, allocations: 166.2 kB / 427.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2225, allocations: 12.38 kB / 427.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.2225, allocations: 16.38 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.2228, allocations: 165.2 kB / 427.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2229, allocations: 4 kB / 427.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.2229, allocations: 8 kB / 427.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2229, allocations: 4 kB / 427.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.2231, allocations: 99.94 kB / 427.7 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.224, allocations: 0.5216 MB / 428.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.2242, allocations: 106.6 kB / 428.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.2243, allocations: 40.83 kB / 428.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2243, allocations: 11.94 kB / 428.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.2243, allocations: 30.56 kB / 428.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.2244, allocations: 0 / 428.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001451/0.2258, allocations: 0.6547 MB / 429.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2258, allocations: 55.41 kB / 429.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.226, allocations: 162.2 kB / 429.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.226, allocations: 25.7 kB / 429.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.2261, allocations: 128.4 kB / 429.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.2262, allocations: 63.44 kB / 429.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.2262, allocations: 41.64 kB / 429.6 MB, free: 7.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2264, allocations: 330.8 kB / 429.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2265, allocations: 43.97 kB / 429.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2266, allocations: 75.34 kB / 430 MB, free: 7.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.2268, allocations: 131.4 kB / 430.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2268, allocations: 4 kB / 430.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003881/0.2272, allocations: 206.1 kB / 430.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2272, allocations: 8 kB / 430.3 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2272, allocations: 0 / 430.3 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.2274, allocations: 44.83 kB / 430.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.2276, allocations: 32.05 kB / 430.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.2289, allocations: 1.42 MB / 431.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.229, allocations: 4.031 kB / 431.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.229, allocations: 8 kB / 431.9 MB, free: 5.488 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.0001147/0.2291, allocations: 129.8 kB / 432 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.2291, allocations: 15.91 kB / 432 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.2292, allocations: 29.17 kB / 432 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2292, allocations: 4 kB / 432 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2292, allocations: 7.875 kB / 432 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2292, allocations: 0 / 432 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008074/0.23, allocations: 0.5436 MB / 432.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.23, allocations: 4 kB / 432.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.2302, allocations: 27.98 kB / 432.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.2303, allocations: 36.88 kB / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2303, allocations: 4 kB / 432.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.2315, allocations: 1.366 MB / 434 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2315, allocations: 0 / 434 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.232, allocations: 336 kB / 434.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.232, allocations: 16.06 kB / 434.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.232, allocations: 8 kB / 434.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2321, allocations: 7.984 kB / 434.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.2322, allocations: 11.98 kB / 434.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.2322, allocations: 7.984 kB / 434.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.833e-05/0.2323, allocations: 124 kB / 434.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2323, allocations: 0 / 434.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000286/0.2326, allocations: 44 kB / 434.6 MB, free: 2.574 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.0008195/0.2334, allocations: 0.8785 MB / 435.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.2338, allocations: 245.2 kB / 435.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2338, allocations: 0 / 435.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.2341, allocations: 182.6 kB / 435.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2344, allocations: 20.12 kB / 435.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.237, allocations: 2.157 MB / 438 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2371, allocations: 120.2 kB / 438.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.2372, allocations: 17.48 kB / 438.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.2373, allocations: 51.41 kB / 438.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2373, allocations: 0 / 438.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.2658, allocations: 4.064 MB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.19, allocations: 9.906 kB / 442.3 MB, free: 10.84 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.535434341058135]