Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 39.94 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2616, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004223/0.2658, allocations: 2.244 MB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.267, allocations: 0.6194 MB / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.2671, allocations: 11.88 kB / 434 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2673, allocations: 35.59 kB / 434 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.2674, allocations: 79.33 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2677, allocations: 71.84 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.2681, allocations: 274.7 kB / 434.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.2683, allocations: 79.02 kB / 434.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.2686, allocations: 115.6 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2687, allocations: 115.4 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.2688, allocations: 24 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.2689, allocations: 20 kB / 434.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.2689, allocations: 59.77 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.269, allocations: 99.53 kB / 434.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.2694, allocations: 272.7 kB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2694, allocations: 0 / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2694, allocations: 0 / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.2694, allocations: 0 / 435.2 MB, free: 2.52 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.0008089/0.2702, allocations: 469.5 kB / 435.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2703, allocations: 12.03 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.126e-05/0.2703, allocations: 58.73 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.2705, allocations: 40.73 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.2708, allocations: 178.9 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2708, allocations: 12.81 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.2709, allocations: 28.33 kB / 436 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.2712, allocations: 199.3 kB / 436.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.2713, allocations: 3.984 kB / 436.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2713, allocations: 12 kB / 436.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2713, allocations: 4 kB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.2716, allocations: 137.7 kB / 436.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009702/0.2726, allocations: 0.5442 MB / 436.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.2729, allocations: 176.1 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2731, allocations: 87.5 kB / 437.1 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2731, allocations: 4 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2731, allocations: 38.55 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.2731, allocations: 4 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002241/0.2754, allocations: 0.9188 MB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2754, allocations: 59.34 kB / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.2756, allocations: 183.2 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.2756, allocations: 29.7 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2757, allocations: 148.8 kB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.209e-05/0.2758, allocations: 111 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.2759, allocations: 61.62 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2761, allocations: 330.8 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2762, allocations: 75.95 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.2764, allocations: 107.8 kB / 439.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.2767, allocations: 196.9 kB / 439.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2767, allocations: 4 kB / 439.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005429/0.2773, allocations: 299.2 kB / 439.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.2773, allocations: 8 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2773, allocations: 0 / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.2775, allocations: 44.83 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2778, allocations: 55.91 kB / 439.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.2795, allocations: 1.625 MB / 441.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2796, allocations: 8 kB / 441.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.2796, allocations: 12 kB / 441.4 MB, free: 11.93 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.0001582/0.2798, allocations: 133.8 kB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.2799, allocations: 27.8 kB / 441.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.2799, allocations: 34.64 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2799, allocations: 8.062 kB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2799, allocations: 192 / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2799, allocations: 0 / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2811, allocations: 0.7267 MB / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.2811, allocations: 0 / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.2814, allocations: 63.89 kB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.2816, allocations: 32.94 kB / 442.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2816, allocations: 8 kB / 442.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.283, allocations: 1.385 MB / 443.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.283, allocations: 0 / 443.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.2838, allocations: 491.5 kB / 444.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.2839, allocations: 23.86 kB / 444.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.2839, allocations: 8 kB / 444.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.284, allocations: 12.03 kB / 444.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.2841, allocations: 15.97 kB / 444.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2841, allocations: 12 kB / 444.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.2843, allocations: 132.4 kB / 444.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2843, allocations: 0 / 444.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.2847, allocations: 71.94 kB / 444.6 MB, free: 8.539 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.001131/0.2858, allocations: 1.016 MB / 445.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.2864, allocations: 330.6 kB / 445.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2864, allocations: 0 / 445.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.2868, allocations: 234.8 kB / 446.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.2872, allocations: 55.78 kB / 446.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.2911, allocations: 2.751 MB / 448.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.2912, allocations: 150.7 kB / 449.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.28e-05/0.2913, allocations: 26.27 kB / 449.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2915, allocations: 79.41 kB / 449.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of SimCode: time 1.243e-06/0.2915, allocations: 0 / 449.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.3322, allocations: 6.072 MB / 455.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.92, allocations: 10.28 kB / 455.3 MB, free: 13.8 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Rotational_Examples_First.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.434684574982384]