Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001612/0.001612, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2272, allocations: 53.41 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003434/0.2306, allocations: 2.248 MB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2317, allocations: 0.6232 MB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2318, allocations: 7.938 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.232, allocations: 39.58 kB / 434.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.2321, allocations: 79.33 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.2324, allocations: 63.86 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.2327, allocations: 274.7 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.2328, allocations: 75.03 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.233, allocations: 111.6 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2332, allocations: 99.48 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.2332, allocations: 23.94 kB / 434.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.2333, allocations: 28 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.2333, allocations: 47.78 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2335, allocations: 107.5 kB / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.2338, allocations: 276.7 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2338, allocations: 0 / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2338, allocations: 0 / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2338, allocations: 0 / 435.2 MB, free: 2.363 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007185/0.2345, allocations: 469.5 kB / 435.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2346, allocations: 11.98 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.148e-05/0.2346, allocations: 54.73 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.2348, allocations: 40.73 kB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.2351, allocations: 182.9 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.2351, allocations: 20.81 kB / 436 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.2351, allocations: 28.27 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.2355, allocations: 195.4 kB / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2355, allocations: 4 kB / 436.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.2355, allocations: 8 kB / 436.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2355, allocations: 7.938 kB / 436.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.2358, allocations: 141.7 kB / 436.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009018/0.2367, allocations: 0.5442 MB / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.237, allocations: 181.6 kB / 437.1 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.2372, allocations: 88.81 kB / 437.2 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2372, allocations: 4 kB / 437.2 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.2372, allocations: 34.56 kB / 437.2 MB, free: 252 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.2372, allocations: 0 / 437.2 MB, free: 252 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001847/0.2391, allocations: 0.9227 MB / 438.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.2391, allocations: 59.34 kB / 438.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.2393, allocations: 179.2 kB / 438.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.2393, allocations: 33.7 kB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.2394, allocations: 140.8 kB / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2395, allocations: 115 kB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.2396, allocations: 57.7 kB / 438.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2398, allocations: 334.8 kB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.2399, allocations: 67.97 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2401, allocations: 107.2 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.2404, allocations: 193.2 kB / 439.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2404, allocations: 0 / 439.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005047/0.2409, allocations: 291.3 kB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2409, allocations: 4 kB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2409, allocations: 0 / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.2411, allocations: 56.7 kB / 439.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.2413, allocations: 51.97 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.2429, allocations: 1.633 MB / 441.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.243, allocations: 8.219 kB / 441.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.243, allocations: 16 kB / 441.4 MB, free: 11.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.2431, allocations: 141.4 kB / 441.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2432, allocations: 27.73 kB / 441.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.2432, allocations: 34.59 kB / 441.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2432, allocations: 4 kB / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2432, allocations: 4 kB / 441.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2432, allocations: 4.047 kB / 441.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.2444, allocations: 0.7189 MB / 442.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2444, allocations: 0 / 442.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.2446, allocations: 63.91 kB / 442.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.2447, allocations: 32.83 kB / 442.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2447, allocations: 8.094 kB / 442.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.2459, allocations: 1.385 MB / 443.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2459, allocations: 0 / 443.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.2466, allocations: 486.8 kB / 444.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.2467, allocations: 23.89 kB / 444.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.2467, allocations: 4.062 kB / 444.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2468, allocations: 12 kB / 444.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.2469, allocations: 27.95 kB / 444.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.2469, allocations: 8 kB / 444.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.247, allocations: 136.4 kB / 444.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.247, allocations: 0 / 444.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.2474, allocations: 64 kB / 444.6 MB, free: 8.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.001013/0.2484, allocations: 1.013 MB / 445.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.249, allocations: 334.7 kB / 445.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.249, allocations: 0 / 445.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.2494, allocations: 230.5 kB / 446.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2498, allocations: 59.47 kB / 446.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.2533, allocations: 2.768 MB / 449 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2535, allocations: 146.7 kB / 449.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.762e-05/0.2536, allocations: 26.28 kB / 449.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2537, allocations: 71.36 kB / 449.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2537, allocations: 0 / 449.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03648/0.2902, allocations: 5.99 MB / 455.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.91, allocations: 0 / 455.2 MB, free: 13.7 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_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_First.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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: 14.39346617506817]