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.001467/0.001467, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001253/0.001253, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.338/1.338, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001395/0.001395, allocations: 43.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2173, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003219/0.2205, allocations: 2.132 MB / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.2214, allocations: 0.5571 MB / 426.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.376e-05/0.2215, allocations: 7.938 kB / 426.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.2216, allocations: 31.66 kB / 426.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.2217, allocations: 43.58 kB / 426.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2219, allocations: 59.86 kB / 426.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2221, allocations: 203.1 kB / 426.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2223, allocations: 57.77 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.2224, allocations: 83.66 kB / 426.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.2225, allocations: 79.62 kB / 426.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.2225, allocations: 16 kB / 426.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.2226, allocations: 20 kB / 426.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.2226, allocations: 35.91 kB / 426.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.2227, allocations: 91.53 kB / 426.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.2229, allocations: 216 kB / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2229, allocations: 0 / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2229, allocations: 0 / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.2229, allocations: 0 / 427 MB, free: 10.97 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.0006227/0.2236, allocations: 409.5 kB / 427.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2236, allocations: 8.031 kB / 427.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.523e-05/0.2236, allocations: 4.188 kB / 427.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.2237, allocations: 50.73 kB / 427.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.2237, allocations: 24.8 kB / 427.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2239, allocations: 158.2 kB / 427.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2239, allocations: 16.38 kB / 427.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.224, allocations: 20.38 kB / 427.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.2243, allocations: 153.3 kB / 427.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2243, allocations: 0 / 427.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2243, allocations: 12 kB / 427.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2243, allocations: 4 kB / 427.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2245, allocations: 103.8 kB / 428 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/0.2254, allocations: 0.5645 MB / 428.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2256, allocations: 106.6 kB / 428.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.2257, allocations: 40.84 kB / 428.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.2257, allocations: 0 / 428.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2258, allocations: 38.55 kB / 428.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 8.12e-07/0.2258, allocations: 0 / 428.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001373/0.2271, allocations: 0.6581 MB / 429.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2272, allocations: 59.41 kB / 429.4 MB, free: 8.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2273, allocations: 154.2 kB / 429.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2273, allocations: 29.7 kB / 429.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.2274, allocations: 128.4 kB / 429.7 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.2275, allocations: 67.42 kB / 429.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.2275, allocations: 37.7 kB / 429.8 MB, free: 7.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2277, allocations: 330.8 kB / 430.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2278, allocations: 39.98 kB / 430.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2279, allocations: 83.33 kB / 430.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.2281, allocations: 127.4 kB / 430.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2281, allocations: 0 / 430.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003836/0.2285, allocations: 214.1 kB / 430.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2285, allocations: 4 kB / 430.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2285, allocations: 0 / 430.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.2287, allocations: 36.84 kB / 430.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2288, allocations: 35.91 kB / 430.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2301, allocations: 1.432 MB / 432.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.2302, allocations: 12.06 kB / 432.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2302, allocations: 4 kB / 432.1 MB, free: 5.465 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.0001189/0.2303, allocations: 127.3 kB / 432.3 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.2304, allocations: 19.91 kB / 432.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.2304, allocations: 21.11 kB / 432.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2304, allocations: 3.938 kB / 432.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2304, allocations: 3.938 kB / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2304, allocations: 0 / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.2312, allocations: 0.5587 MB / 432.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2312, allocations: 0 / 432.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.2314, allocations: 31.91 kB / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.2315, allocations: 32.83 kB / 432.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2315, allocations: 11.98 kB / 432.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.2326, allocations: 1.374 MB / 434.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2326, allocations: 4.062 kB / 434.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.2332, allocations: 336 kB / 434.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.2332, allocations: 11.94 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2332, allocations: 4 kB / 434.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.2333, allocations: 7.984 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.2333, allocations: 20.05 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2334, allocations: 4 kB / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.486e-05/0.2335, allocations: 124.1 kB / 434.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2335, allocations: 0 / 434.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.2337, allocations: 44 kB / 434.9 MB, free: 2.535 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.0008168/0.2346, allocations: 0.8759 MB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.235, allocations: 238.5 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.235, allocations: 0 / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.2353, allocations: 190.8 kB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2356, allocations: 24.22 kB / 436.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.2383, allocations: 2.149 MB / 438.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.2387, allocations: 0.7281 MB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.2387, allocations: 17.48 kB / 439.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.2388, allocations: 47.42 kB / 439.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2388, allocations: 0 / 439.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.2667, allocations: 3.968 MB / 443.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.05, allocations: 8 kB / 443.1 MB, free: 10.29 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.426115723967087]