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.0008371/0.0008371, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008436/0.0008436, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8886/0.8886, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.302e-06/1.302e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.207e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002223/0.002235, allocations: 2.249 MB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006798/0.002915, allocations: 0.6194 MB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.003007, allocations: 7.938 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.003122, allocations: 35.64 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.003233, allocations: 87.27 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.003431, allocations: 71.73 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.003627, allocations: 286.5 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.003769, allocations: 71.3 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.003949, allocations: 163.6 kB / 328.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.004043, allocations: 87.7 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.004067, allocations: 20 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-05/0.004116, allocations: 24 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.004143, allocations: 47.81 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.004202, allocations: 91.77 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.004426, allocations: 271.1 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004428, allocations: 3.938 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004429, allocations: 0 / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.004433, allocations: 0 / 328.6 MB, free: 11.75 MB / 298.7 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.0004807/0.004914, allocations: 465.5 kB / 329.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.004952, allocations: 11.98 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.004992, allocations: 58.73 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.00509, allocations: 44.73 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.005289, allocations: 178.2 kB / 329.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.005302, allocations: 12.88 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.005332, allocations: 28.33 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.00555, allocations: 192.7 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.005563, allocations: 4.172 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.005579, allocations: 12.12 kB / 329.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005584, allocations: 8 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.005749, allocations: 141.9 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.006326, allocations: 0.5445 MB / 330.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.006521, allocations: 166.4 kB / 330.5 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.306e-05/0.006614, allocations: 91.64 kB / 330.6 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.006631, allocations: 8.031 kB / 330.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.006648, allocations: 30.56 kB / 330.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.006649, allocations: 0 / 330.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001136/0.007785, allocations: 0.9255 MB / 331.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.007819, allocations: 55.41 kB / 331.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.007951, allocations: 195.4 kB / 331.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.007966, allocations: 33.64 kB / 331.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.008275, allocations: 144.8 kB / 331.9 MB, free: 8.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.008333, allocations: 119 kB / 332.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.00839, allocations: 57.45 kB / 332.1 MB, free: 8.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.008484, allocations: 334.8 kB / 332.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.472e-05/0.008579, allocations: 71.97 kB / 332.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.00869, allocations: 103.2 kB / 332.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.008909, allocations: 197.2 kB / 332.8 MB, free: 7.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.008911, allocations: 4 kB / 332.8 MB, free: 7.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003342/0.009245, allocations: 291.2 kB / 333.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.009261, allocations: 8 kB / 333.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.009267, allocations: 0 / 333.1 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.009411, allocations: 40.83 kB / 333.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.009561, allocations: 59.91 kB / 333.2 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.01068, allocations: 1.633 MB / 334.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.01074, allocations: 8 kB / 334.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01075, allocations: 11.98 kB / 334.8 MB, free: 5.148 MB / 298.7 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.0001057/0.01086, allocations: 137.8 kB / 335 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.01088, allocations: 23.86 kB / 335 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.01092, allocations: 30.59 kB / 335 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01092, allocations: 4 kB / 335 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01092, allocations: 0 / 335 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.01093, allocations: 8.047 kB / 335 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.01161, allocations: 0.7145 MB / 335.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.01161, allocations: 7.938 kB / 335.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.01175, allocations: 55.91 kB / 335.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.863e-05/0.01183, allocations: 36.83 kB / 335.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01184, allocations: 12.09 kB / 335.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007306/0.01257, allocations: 1.369 MB / 337.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01258, allocations: 3.984 kB / 337.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.013, allocations: 483.1 kB / 337.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01302, allocations: 27.89 kB / 337.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.01303, allocations: 12 kB / 337.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.0131, allocations: 8 kB / 337.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.01315, allocations: 23.95 kB / 337.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01316, allocations: 12 kB / 337.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.01323, allocations: 132.4 kB / 337.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01323, allocations: 0 / 337.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01345, allocations: 72 kB / 338 MB, free: 1.773 MB / 298.7 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.0008111/0.01426, allocations: 1.013 MB / 339 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.01464, allocations: 330.7 kB / 339.3 MB, free: 392 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01464, allocations: 4 kB / 339.3 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.01482, allocations: 230.8 kB / 339.6 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.01511, allocations: 52.17 kB / 339.6 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.0172, allocations: 2.658 MB / 342.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.392e-05/0.0173, allocations: 146.8 kB / 342.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.652e-05/0.01735, allocations: 22.28 kB / 342.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.01745, allocations: 80.47 kB / 342.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01745, allocations: 4 kB / 342.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.03723, allocations: 6.133 MB / 348.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.019, allocations: 7.922 kB / 348.7 MB, free: 7.039 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/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: 8.758779031224549]