Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.001839/0.001839, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002167/0.002167, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2224, allocations: 53.4 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003257/0.2257, allocations: 2.255 MB / 433.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2267, allocations: 0.6232 MB / 434 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/0.2268, allocations: 11.94 kB / 434 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.2269, allocations: 35.59 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.227, allocations: 63.42 kB / 434.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.2272, allocations: 67.84 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.2275, allocations: 258.8 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2277, allocations: 64.3 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.2279, allocations: 111.6 kB / 434.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.228, allocations: 91.44 kB / 434.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.228, allocations: 20 kB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.2281, allocations: 35.98 kB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2281, allocations: 39.84 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.2282, allocations: 99.53 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.2285, allocations: 252.8 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2285, allocations: 0 / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2285, allocations: 0 / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2285, allocations: 0 / 435.1 MB, free: 2.414 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006445/0.2291, allocations: 465.5 kB / 435.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2292, allocations: 11.98 kB / 435.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.2292, allocations: 54.73 kB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.2294, allocations: 36.78 kB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.2297, allocations: 178.9 kB / 435.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2297, allocations: 12.81 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.2297, allocations: 24.38 kB / 435.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.23, allocations: 213.9 kB / 436.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2301, allocations: 11.94 kB / 436.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2301, allocations: 12 kB / 436.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2301, allocations: 7.984 kB / 436.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.2304, allocations: 125.7 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009654/0.2313, allocations: 0.6228 MB / 436.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.2316, allocations: 142.5 kB / 437 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2317, allocations: 64.83 kB / 437.1 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2317, allocations: 4 kB / 437.1 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2317, allocations: 38.56 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.2317, allocations: 4 kB / 437.1 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001476/0.2332, allocations: 0.7421 MB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2333, allocations: 55.41 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.2334, allocations: 180 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.2335, allocations: 37.7 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2336, allocations: 144.4 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.2337, allocations: 91.22 kB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.2338, allocations: 45.7 kB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2339, allocations: 330.8 kB / 438.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2341, allocations: 59.97 kB / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2342, allocations: 96.2 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.2345, allocations: 180.1 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2345, allocations: 0 / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004519/0.235, allocations: 250.1 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.235, allocations: 4 kB / 439.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.235, allocations: 4 kB / 439.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.2351, allocations: 32.83 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.2353, allocations: 52.05 kB / 439.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.2367, allocations: 1.373 MB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2368, allocations: 16.02 kB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.2368, allocations: 4 kB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001368/0.2369, allocations: 137.8 kB / 440.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.237, allocations: 23.92 kB / 441 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.237, allocations: 21.97 kB / 441 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.237, allocations: 7.938 kB / 441 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.237, allocations: 3.984 kB / 441 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.237, allocations: 0 / 441 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.2379, allocations: 0.5964 MB / 441.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2379, allocations: 0 / 441.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.2382, allocations: 47.98 kB / 441.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.2383, allocations: 36.83 kB / 441.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2383, allocations: 4 kB / 441.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.2395, allocations: 1.381 MB / 443.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2395, allocations: 0 / 443.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.2401, allocations: 402.2 kB / 443.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.2401, allocations: 23.89 kB / 443.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.2401, allocations: 8 kB / 443.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2402, allocations: 0 / 443.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.2403, allocations: 23.91 kB / 443.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2403, allocations: 4 kB / 443.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2404, allocations: 137.1 kB / 443.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2404, allocations: 0 / 443.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.2407, allocations: 60 kB / 443.7 MB, free: 9.227 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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.0009307/0.2417, allocations: 0.9416 MB / 444.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.2422, allocations: 278.5 kB / 444.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2422, allocations: 3.938 kB / 444.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.2425, allocations: 207 kB / 445.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.2429, allocations: 39.91 kB / 445.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.2462, allocations: 2.55 MB / 447.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.2464, allocations: 134.5 kB / 447.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.394e-05/0.2465, allocations: 25.92 kB / 447.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.2466, allocations: 63.42 kB / 447.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2466, allocations: 0 / 447.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04585/0.2924, allocations: 5.462 MB / 453.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.8, allocations: 3.375 kB / 453.4 MB, free: 15.47 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.209855928085744]