Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00126/0.00126, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 213.9 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2311, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003662/0.2348, allocations: 2.148 MB / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2359, allocations: 0.5921 MB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.2361, allocations: 7.938 kB / 433.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.2363, allocations: 31.66 kB / 434 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.2364, allocations: 55.55 kB / 434 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.2366, allocations: 47.88 kB / 434.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.2369, allocations: 207.2 kB / 434.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2371, allocations: 52.84 kB / 434.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2372, allocations: 83.66 kB / 434.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2374, allocations: 83.61 kB / 434.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.2374, allocations: 16 kB / 434.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.403e-05/0.2374, allocations: 16 kB / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.2375, allocations: 35.86 kB / 434.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.2376, allocations: 91.59 kB / 434.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.2378, allocations: 211.5 kB / 434.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2378, allocations: 0 / 434.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2378, allocations: 0 / 434.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.2379, allocations: 0 / 434.8 MB, free: 3.027 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.0006674/0.2385, allocations: 405.5 kB / 435.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2386, allocations: 12.03 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.2386, allocations: 50.73 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.2387, allocations: 16.84 kB / 435.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.239, allocations: 174.1 kB / 435.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.239, allocations: 16.16 kB / 435.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.239, allocations: 24.31 kB / 435.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.2393, allocations: 149.7 kB / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2393, allocations: 4 kB / 435.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2394, allocations: 11.94 kB / 435.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2394, allocations: 4 kB / 435.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2396, allocations: 103.7 kB / 435.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.2405, allocations: 0.5529 MB / 436.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.2408, allocations: 110.6 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.2409, allocations: 36.84 kB / 436.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.2409, allocations: 0 / 436.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2409, allocations: 38.56 kB / 436.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.2409, allocations: 0 / 436.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001478/0.2424, allocations: 0.6553 MB / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2424, allocations: 55.41 kB / 437.2 MB, free: 436 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.2426, allocations: 162.8 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2426, allocations: 25.7 kB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.2427, allocations: 128.4 kB / 437.5 MB, free: 100 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.2427, allocations: 67.42 kB / 437.6 MB, free: 32 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.2428, allocations: 33.72 kB / 437.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.243, allocations: 334.8 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2431, allocations: 39.98 kB / 438 MB, free: 15.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2432, allocations: 82.72 kB / 438.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.2434, allocations: 134.6 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2434, allocations: 0 / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004025/0.2439, allocations: 210.2 kB / 438.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2439, allocations: 4 kB / 438.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2439, allocations: 4 kB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.244, allocations: 44.83 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2442, allocations: 31.92 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.2456, allocations: 1.424 MB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.2456, allocations: 16.08 kB / 439.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.2457, allocations: 4 kB / 439.9 MB, free: 13.53 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 0.0001236/0.2458, allocations: 125.8 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.2458, allocations: 19.91 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.2459, allocations: 17.12 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2459, allocations: 7.938 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2459, allocations: 3.938 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2459, allocations: 3.984 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008394/0.2467, allocations: 0.5546 MB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2467, allocations: 4 kB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.2469, allocations: 27.98 kB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.247, allocations: 44.73 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.247, allocations: 4 kB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.2483, allocations: 1.377 MB / 442.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2483, allocations: 4.062 kB / 442.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.2488, allocations: 338.8 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.2488, allocations: 11.98 kB / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2489, allocations: 4 kB / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.249, allocations: 7.938 kB / 442.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.249, allocations: 20.03 kB / 442.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.249, allocations: 4 kB / 442.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2491, allocations: 115.2 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2491, allocations: 0 / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.2494, allocations: 51.94 kB / 442.7 MB, free: 10.59 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.0008412/0.2503, allocations: 0.8717 MB / 443.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004804/0.2507, allocations: 246.5 kB / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2507, allocations: 0 / 443.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2511, allocations: 186.8 kB / 444 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.2514, allocations: 28.12 kB / 444 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.2541, allocations: 2.143 MB / 446.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.2545, allocations: 0.732 MB / 446.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.752e-05/0.2546, allocations: 17.48 kB / 446.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.2547, allocations: 51.42 kB / 446.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2547, allocations: 0 / 446.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.2898, allocations: 3.938 MB / 450.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.37, allocations: 7.922 kB / 450.9 MB, free: 2.312 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.720695509109646]