Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.0008839, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008596/0.0008596, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8569/0.8569, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 318.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.379e-05, allocations: 2.281 kB / 318.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002271/0.002284, allocations: 2.275 MB / 320.7 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.003029, allocations: 0.5569 MB / 321.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.003156, allocations: 4 kB / 321.2 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.003286, allocations: 43.52 kB / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.003388, allocations: 75.3 kB / 321.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003609, allocations: 59.91 kB / 321.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.003818, allocations: 266.7 kB / 321.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.003983, allocations: 65.69 kB / 321.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.004146, allocations: 151.7 kB / 321.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004254, allocations: 79.7 kB / 322 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.004287, allocations: 20 kB / 322 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.004309, allocations: 20 kB / 322 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.004346, allocations: 47.83 kB / 322.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.004406, allocations: 79.83 kB / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.004637, allocations: 263.1 kB / 322.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004639, allocations: 0 / 322.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00464, allocations: 3.938 kB / 322.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.004645, allocations: 0 / 322.4 MB, free: 2.242 MB / 282.7 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.0005766/0.005221, allocations: 452.9 kB / 322.8 MB, free: 1.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.005261, allocations: 16.92 kB / 322.9 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.005304, allocations: 50.73 kB / 322.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.005347, allocations: 32.8 kB / 322.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.005555, allocations: 186 kB / 323.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005569, allocations: 12.88 kB / 323.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.005602, allocations: 20.38 kB / 323.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.005891, allocations: 218.7 kB / 323.4 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.005905, allocations: 7.938 kB / 323.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.005927, allocations: 8 kB / 323.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.005933, allocations: 8 kB / 323.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.00613, allocations: 147.8 kB / 323.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000703/0.006833, allocations: 0.7009 MB / 324.2 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.007107, allocations: 189 kB / 324.4 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.007265, allocations: 93.91 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.007284, allocations: 4 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.007304, allocations: 34.56 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.007306, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001359/0.008665, allocations: 0.7298 MB / 325.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.008707, allocations: 81.11 kB / 325.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.008833, allocations: 182.3 kB / 325.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.008855, allocations: 33.64 kB / 325.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.008926, allocations: 140.5 kB / 325.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.008976, allocations: 103.1 kB / 325.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.009032, allocations: 49.66 kB / 325.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.009117, allocations: 330.8 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.009223, allocations: 63.97 kB / 326.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.009332, allocations: 104.2 kB / 326.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.009541, allocations: 192.5 kB / 326.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009543, allocations: 4 kB / 326.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002869/0.009829, allocations: 237.3 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.009848, allocations: 8 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.009855, allocations: 4.094 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.009871, allocations: 7.938 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01003, allocations: 59.91 kB / 326.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01003, allocations: 3.984 kB / 326.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.01009, allocations: 15.95 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.01011, allocations: 8 kB / 326.9 MB, free: 13.46 MB / 298.7 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.0102, allocations: 137.8 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.01024, allocations: 27.78 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.01028, allocations: 29.8 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.01029, allocations: 8 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01029, allocations: 0 / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.0103, allocations: 4 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.0109, allocations: 0.5271 MB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.0109, allocations: 0 / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.01105, allocations: 55.91 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01105, allocations: 4 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01107, allocations: 20.08 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01107, allocations: 0 / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01107, allocations: 0 / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.01148, allocations: 0.4898 MB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.01151, allocations: 19.86 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.01153, allocations: 8 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.01165, allocations: 8.031 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.01169, allocations: 23.91 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.0117, allocations: 12 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.99e-05/0.01177, allocations: 132.4 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01177, allocations: 0 / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000212/0.01198, allocations: 48 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006021/0.01259, allocations: 1.019 MB / 329.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.01285, allocations: 174.8 kB / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01285, allocations: 0 / 329.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01296, allocations: 99.77 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.01331, allocations: 39.86 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.01535, allocations: 2.548 MB / 332.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.423e-05/0.01545, allocations: 138.2 kB / 332.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.01551, allocations: 21.94 kB / 332.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.0156, allocations: 72.47 kB / 332.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0156, allocations: 0 / 332.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.03459, allocations: 5.187 MB / 337.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/6.908, allocations: 13.94 kB / 337.7 MB, free: 2.496 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_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_0_0_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.586469474248588]