Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.000812/0.000812, allocations: 79.7 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.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.0008104/0.0008104, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9114/0.9114, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.281e-05, allocations: 6.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003106/0.003129, allocations: 1.601 MB / 326.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.004032, allocations: 0.5024 MB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.004114, allocations: 3.938 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.004159, allocations: 3.938 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.004303, allocations: 11.88 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.004584, allocations: 59.75 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.004679, allocations: 43.86 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.004768, allocations: 15.97 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.004884, allocations: 31.91 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.004932, allocations: 15.92 kB / 326.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004948, allocations: 4 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.465e-05/0.004993, allocations: 11.98 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.005036, allocations: 11.94 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.005064, allocations: 7.984 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.005205, allocations: 67.67 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005208, allocations: 0 / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.005209, allocations: 4 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005214, allocations: 3.938 kB / 327 MB, free: 13.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003877/0.005602, allocations: 301.3 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.005638, allocations: 12.03 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.005667, allocations: 34.73 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.005774, allocations: 16.89 kB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.005965, allocations: 141.6 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.005974, allocations: 384 / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.005984, allocations: 12.38 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.00622, allocations: 117.5 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.006226, allocations: 4.188 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.006235, allocations: 4.125 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006239, allocations: 0 / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.658e-05/0.006286, allocations: 19.98 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.006542, allocations: 244.8 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.006676, allocations: 53.2 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.006717, allocations: 33.7 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.006734, allocations: 0 / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.006752, allocations: 42.5 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006752, allocations: 0 / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000174/0.006926, allocations: 77.56 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.006968, allocations: 81.3 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.007054, allocations: 142.3 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.007064, allocations: 29.7 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.007103, allocations: 88.14 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.007115, allocations: 3.953 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.007148, allocations: 21.64 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.007224, allocations: 314.8 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.007248, allocations: 4 kB / 328.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.007264, allocations: 7.984 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.007305, allocations: 28.91 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007307, allocations: 0 / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.573e-05/0.007373, allocations: 53.52 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.007386, allocations: 4 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007391, allocations: 3.984 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.007403, allocations: 4 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.95e-05/0.007442, allocations: 7.984 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007447, allocations: 0 / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.007464, allocations: 4 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007471, allocations: 4.031 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.305e-05/0.007534, allocations: 109.8 kB / 329 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.007581, allocations: 57.58 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.007608, allocations: 8.344 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007611, allocations: 3.984 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.007615, allocations: 3.938 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.007621, allocations: 4 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.007732, allocations: 136.7 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007734, allocations: 3.938 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.007762, allocations: 11.98 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007765, allocations: 4 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.007772, allocations: 8 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007774, allocations: 0 / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007775, allocations: 0 / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007883, allocations: 164.3 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.007913, allocations: 23.88 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.007924, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.007958, allocations: 7.938 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.007981, allocations: 3.938 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.007986, allocations: 7.984 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.412e-05/0.00804, allocations: 113.8 kB / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00804, allocations: 0 / 329.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.008187, allocations: 4 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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.0002786/0.008466, allocations: 0.7014 MB / 330.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.805e-05/0.008554, allocations: 27.92 kB / 330.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008555, allocations: 0 / 330.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-05/0.008575, allocations: 8 kB / 330.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.008822, allocations: 24.14 kB / 330.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/0.009663, allocations: 1.305 MB / 331.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.973e-05/0.009722, allocations: 79.08 kB / 331.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.009749, allocations: 288 / 331.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.00979, allocations: 20.53 kB / 331.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009791, allocations: 4 kB / 331.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.02624, allocations: 2.233 MB / 333.9 MB, free: 6.258 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/6.899, allocations: 7.75 kB / 333.9 MB, free: 6.254 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.74129718914628]