Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001134/0.001134, allocations: 76.06 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.001282/0.001282, allocations: 149.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.9233/0.9233, allocations: 173.4 MB / 200.4 MB, free: 9.422 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.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.797e-05, allocations: 9.453 kB / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00248/0.002508, allocations: 1.563 MB / 320 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000644/0.003152, allocations: 454.8 kB / 320.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.003237, allocations: 0 / 320.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.379e-05/0.00328, allocations: 11.81 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.003407, allocations: 15.91 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.00374, allocations: 43.77 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.003873, allocations: 39.86 kB / 320.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.00399, allocations: 19.97 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.004098, allocations: 27.91 kB / 320.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.00416, allocations: 15.92 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.004189, allocations: 0 / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.0042, allocations: 4 kB / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.004256, allocations: 15.92 kB / 320.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.004292, allocations: 15.98 kB / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004423, allocations: 47.81 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004426, allocations: 0 / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.004427, allocations: 0 / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.004432, allocations: 8 kB / 320.7 MB, free: 4.047 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005003/0.004932, allocations: 309.1 kB / 321 MB, free: 3.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.004979, allocations: 12.91 kB / 321 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.005018, allocations: 38.75 kB / 321.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.005049, allocations: 12.89 kB / 321.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.005264, allocations: 121.7 kB / 321.2 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005277, allocations: 8.375 kB / 321.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.005289, allocations: 4.375 kB / 321.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.005596, allocations: 117.6 kB / 321.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.005608, allocations: 4.125 kB / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.00562, allocations: 4.125 kB / 321.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.005627, allocations: 4 kB / 321.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.0057, allocations: 19.98 kB / 321.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.006036, allocations: 228.8 kB / 321.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.006211, allocations: 61.14 kB / 321.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.00627, allocations: 33.7 kB / 321.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.006301, allocations: 4 kB / 321.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.006323, allocations: 34.56 kB / 321.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.006324, allocations: 3.938 kB / 321.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002431/0.006567, allocations: 77.61 kB / 321.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.006625, allocations: 81.05 kB / 321.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.006734, allocations: 136.8 kB / 322 MB, free: 2.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.006749, allocations: 37.77 kB / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.006803, allocations: 96.09 kB / 322.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.006817, allocations: 3.984 kB / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.006849, allocations: 13.72 kB / 322.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.006956, allocations: 310.8 kB / 322.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.006987, allocations: 11.98 kB / 322.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.00701, allocations: 8 kB / 322.5 MB, free: 2.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.007065, allocations: 20.84 kB / 322.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007067, allocations: 3.938 kB / 322.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.784e-05/0.007165, allocations: 57.58 kB / 322.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.007181, allocations: 8 kB / 322.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.007187, allocations: 0 / 322.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.007207, allocations: 0 / 322.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.007261, allocations: 7.984 kB / 322.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.007267, allocations: 0 / 322.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.007291, allocations: 0 / 322.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.007298, allocations: 0 / 322.6 MB, free: 1.969 MB / 282.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 8.26e-05/0.007381, allocations: 117.9 kB / 322.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.007449, allocations: 53.78 kB / 322.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.007485, allocations: 16.38 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007488, allocations: 3.984 kB / 322.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.007493, allocations: 4 kB / 322.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007497, allocations: 0 / 322.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.007664, allocations: 136.7 kB / 322.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.007667, allocations: 4 kB / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.007711, allocations: 11.92 kB / 322.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.007714, allocations: 4 kB / 322.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.007722, allocations: 0 / 322.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.007725, allocations: 8 kB / 322.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007727, allocations: 0 / 322.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.007876, allocations: 168.3 kB / 323.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.007913, allocations: 19.94 kB / 323.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.007926, allocations: 0 / 323.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.007991, allocations: 4 kB / 323.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.008022, allocations: 3.984 kB / 323.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.008026, allocations: 0 / 323.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.992e-05/0.008096, allocations: 111.2 kB / 323.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.008096, allocations: 0 / 323.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.008365, allocations: 8 kB / 323.2 MB, free: 1.223 MB / 282.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.00038/0.008745, allocations: 0.7054 MB / 323.9 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.008858, allocations: 23.92 kB / 324 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00886, allocations: 0 / 324 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.008887, allocations: 11.94 kB / 324 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.009249, allocations: 30.23 kB / 324 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.01044, allocations: 1.294 MB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.0105, allocations: 75.33 kB / 325.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.533e-05/0.01052, allocations: 4 kB / 325.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.01056, allocations: 12.5 kB / 325.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01056, allocations: 0 / 325.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.02863, allocations: 2.202 MB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.757, allocations: 8 kB / 327.6 MB, free: 12.85 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.632915889844298]