Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.001347/0.001347, 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.001499/0.001499, 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.477/1.477, allocations: 230.4 MB / 254 MB, free: 15 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.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1112, allocations: 53.38 MB / 426.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003809/0.115, allocations: 2.447 MB / 428.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1162, allocations: 0.6544 MB / 429.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1163, allocations: 7.938 kB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1165, allocations: 43.58 kB / 429.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1166, allocations: 67.36 kB / 429.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1169, allocations: 79.83 kB / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1172, allocations: 254.8 kB / 429.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1173, allocations: 73.34 kB / 430 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.1175, allocations: 115.6 kB / 430.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1177, allocations: 111.5 kB / 430.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.1177, allocations: 20 kB / 430.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.953e-05/0.1178, allocations: 20 kB / 430.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.1178, allocations: 51.78 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1179, allocations: 119.4 kB / 430.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.1183, allocations: 262.9 kB / 430.6 MB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1183, allocations: 0 / 430.6 MB, free: 284 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1183, allocations: 0 / 430.6 MB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1183, allocations: 0 / 430.6 MB, free: 284 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.2162/0.3345, allocations: 0.5261 MB / 431.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3345, allocations: 12.47 kB / 431.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.3346, allocations: 56.08 kB / 431.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.3349, allocations: 47.98 kB / 431.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.3351, allocations: 241.8 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3352, allocations: 16.56 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.3352, allocations: 25.67 kB / 431.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.3356, allocations: 224.6 kB / 431.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3356, allocations: 1.5 kB / 431.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.3357, allocations: 5.953 kB / 431.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3357, allocations: 5.891 kB / 431.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.336, allocations: 149.9 kB / 431.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.337, allocations: 0.7837 MB / 432.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.3373, allocations: 189.9 kB / 432.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3375, allocations: 93.5 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3376, allocations: 7.375 kB / 433 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3376, allocations: 36.94 kB / 433 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.3376, allocations: 1.688 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001382/0.339, allocations: 0.8751 MB / 433.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.339, allocations: 80.36 kB / 434 MB, free: 9.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3391, allocations: 180.8 kB / 434.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3391, allocations: 31.14 kB / 434.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.3392, allocations: 137.9 kB / 434.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.3393, allocations: 106.7 kB / 434.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.3393, allocations: 47.02 kB / 434.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.3394, allocations: 332.7 kB / 434.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3395, allocations: 65.67 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3397, allocations: 117.6 kB / 435 MB, free: 8.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.34, allocations: 185.9 kB / 435.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.34, allocations: 1.031 kB / 435.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003892/0.3403, allocations: 252.8 kB / 435.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3404, allocations: 5 kB / 435.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3404, allocations: 3.812 kB / 435.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3404, allocations: 2.031 kB / 435.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.3406, allocations: 59.94 kB / 435.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3406, allocations: 3.25 kB / 435.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3407, allocations: 12.28 kB / 435.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.3408, allocations: 14.22 kB / 435.5 MB, free: 8.738 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 (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 8.103e-05/0.3408, allocations: 132.2 kB / 435.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.3409, allocations: 36.58 kB / 435.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.341, allocations: 25.28 kB / 435.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.341, allocations: 3.438 kB / 435.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.341, allocations: 0.9375 kB / 435.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.341, allocations: 3.875 kB / 435.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.3416, allocations: 0.5853 MB / 436.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3416, allocations: 1.281 kB / 436.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3419, allocations: 64.52 kB / 436.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3419, allocations: 2.375 kB / 436.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.3419, allocations: 6.062 kB / 436.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3419, allocations: 2.25 kB / 436.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3419, allocations: 8.375 kB / 436.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.3425, allocations: 495.5 kB / 436.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.3425, allocations: 101.3 kB / 437 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3426, allocations: 8.375 kB / 437 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3427, allocations: 9.953 kB / 437 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3428, allocations: 19.09 kB / 437 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3428, allocations: 11.03 kB / 437 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.862e-05/0.3429, allocations: 137.2 kB / 437.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3429, allocations: 1.219 kB / 437.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.3432, allocations: 46.81 kB / 437.2 MB, free: 7.574 MB / 350.1 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.0007542/0.344, allocations: 1.032 MB / 438.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.3444, allocations: 174.4 kB / 438.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3444, allocations: 0 / 438.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.3446, allocations: 91 kB / 438.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.3451, allocations: 43.56 kB / 438.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.3487, allocations: 2.649 MB / 441.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3489, allocations: 0.7469 MB / 441.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.3491, allocations: 24.17 kB / 442 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3492, allocations: 71.27 kB / 442 MB, free: 3.906 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3492, allocations: 1.094 kB / 442 MB, free: 3.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.38, allocations: 4.485 MB / 446.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.705, allocations: 21 kB / 446.5 MB, free: 3.312 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.165438940981403]