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.001731/0.001731, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002012/0.002012, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.487/1.487, allocations: 230.5 MB / 254 MB, free: 15.01 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.002095/0.002095, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1044, allocations: 53.37 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004096/0.1085, allocations: 2.377 MB / 428.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1099, allocations: 0.6466 MB / 429.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1101, allocations: 7.938 kB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.1103, allocations: 43.58 kB / 429.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1105, allocations: 71.34 kB / 429.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1109, allocations: 55.92 kB / 429.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.1113, allocations: 262.8 kB / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1114, allocations: 60.38 kB / 429.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1117, allocations: 123.5 kB / 430 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1119, allocations: 99.56 kB / 430.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1119, allocations: 19.98 kB / 430.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.112, allocations: 31.98 kB / 430.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.1121, allocations: 39.8 kB / 430.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1122, allocations: 111.5 kB / 430.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1126, allocations: 262.8 kB / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1126, allocations: 0 / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1126, allocations: 0 / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1126, allocations: 0 / 430.5 MB, free: 424 kB / 350.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.1947/0.3073, allocations: 0.519 MB / 431.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3074, allocations: 9.25 kB / 431.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.3074, allocations: 58.48 kB / 431.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.3076, allocations: 31.02 kB / 431.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3079, allocations: 248.4 kB / 431.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3079, allocations: 16.06 kB / 431.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.308, allocations: 21.81 kB / 431.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.3084, allocations: 207.8 kB / 431.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.3084, allocations: 14.66 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3084, allocations: 8.438 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3084, allocations: 4.594 kB / 431.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.3087, allocations: 132.6 kB / 431.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009447/0.3096, allocations: 0.6959 MB / 432.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3099, allocations: 143.4 kB / 432.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.31, allocations: 62.41 kB / 432.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3101, allocations: 8.781 kB / 432.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.3101, allocations: 35.78 kB / 432.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.3101, allocations: 0 / 432.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001503/0.3116, allocations: 0.8895 MB / 433.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.3116, allocations: 54.88 kB / 433.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3118, allocations: 170.7 kB / 433.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3118, allocations: 33.45 kB / 433.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.3118, allocations: 148.3 kB / 434 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.3119, allocations: 88.3 kB / 434.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.312, allocations: 49.69 kB / 434.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.312, allocations: 331.6 kB / 434.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3121, allocations: 57.91 kB / 434.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3123, allocations: 101.4 kB / 434.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.3125, allocations: 165.7 kB / 434.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3125, allocations: 0 / 434.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004484/0.313, allocations: 261.7 kB / 435.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.313, allocations: 5.562 kB / 435.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.313, allocations: 1.406 kB / 435.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.3132, allocations: 40.98 kB / 435.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.3134, allocations: 51.12 kB / 435.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009061/0.3143, allocations: 1.48 MB / 436.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.3144, allocations: 13.03 kB / 436.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3145, allocations: 7.219 kB / 436.6 MB, free: 7.457 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.0001053/0.3146, allocations: 138.2 kB / 436.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.3146, allocations: 20.02 kB / 436.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.3147, allocations: 25.59 kB / 436.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3147, allocations: 2.75 kB / 436.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3147, allocations: 6.781 kB / 436.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3147, allocations: 3.484 kB / 436.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.3155, allocations: 0.6444 MB / 437.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3155, allocations: 1.594 kB / 437.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.3157, allocations: 55.83 kB / 437.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.3159, allocations: 31.38 kB / 437.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3159, allocations: 6 kB / 437.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008316/0.3167, allocations: 1.5 MB / 439.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3167, allocations: 0.875 kB / 439.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.3172, allocations: 397.6 kB / 439.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3173, allocations: 95.77 kB / 439.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3173, allocations: 6.219 kB / 439.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3174, allocations: 8.531 kB / 439.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.3175, allocations: 23.02 kB / 439.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3175, allocations: 8.922 kB / 439.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.661e-05/0.3176, allocations: 137.9 kB / 439.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3176, allocations: 0 / 439.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.318, allocations: 58.84 kB / 439.8 MB, free: 4.859 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.0007684/0.3187, allocations: 0.9316 MB / 440.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005724/0.3193, allocations: 286 kB / 441 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3193, allocations: 0 / 441 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.3196, allocations: 208.2 kB / 441.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.3201, allocations: 50.34 kB / 441.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.3234, allocations: 2.539 MB / 443.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.3236, allocations: 0.7473 MB / 444.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.3237, allocations: 19.7 kB / 444.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.3238, allocations: 69.53 kB / 444.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3238, allocations: 4 kB / 444.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.3625, allocations: 4.81 MB / 449.4 MB, free: 488 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.989/10.35, allocations: 2.469 kB / 449.5 MB, free: 488 kB / 350.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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: 12.90696959500201]