Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.0008681/0.0008681, 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.0009251/0.0009251, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.9318/0.9318, allocations: 173.3 MB / 200.4 MB, free: 9.43 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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.271e-05, allocations: 2.281 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001742/0.001755, allocations: 1.543 MB / 320 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005766/0.002331, allocations: 450.8 kB / 320.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.002401, allocations: 4 kB / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.002441, allocations: 3.938 kB / 320.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.002574, allocations: 11.86 kB / 320.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.002802, allocations: 47.77 kB / 320.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.002901, allocations: 39.84 kB / 320.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003003, allocations: 15.98 kB / 320.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.003077, allocations: 23.91 kB / 320.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.003131, allocations: 8 kB / 320.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.003155, allocations: 4 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.003167, allocations: 4 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.003231, allocations: 19.91 kB / 320.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.003256, allocations: 7.938 kB / 320.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.003377, allocations: 51.73 kB / 320.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003379, allocations: 0 / 320.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.003381, allocations: 0 / 320.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.003386, allocations: 4 kB / 320.7 MB, free: 4.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004331/0.003819, allocations: 293.3 kB / 321 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.003864, allocations: 12.92 kB / 321 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.009e-05/0.003904, allocations: 38.75 kB / 321 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.003932, allocations: 8.891 kB / 321 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.004127, allocations: 133.6 kB / 321.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.004142, allocations: 4.359 kB / 321.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.004153, allocations: 384 / 321.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.004395, allocations: 97.61 kB / 321.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.004405, allocations: 192 / 321.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.004418, allocations: 4.125 kB / 321.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.004424, allocations: 0 / 321.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.004473, allocations: 23.86 kB / 321.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.004766, allocations: 224.9 kB / 321.5 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.004831, allocations: 49.14 kB / 321.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.004861, allocations: 17.72 kB / 321.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.004881, allocations: 8 kB / 321.6 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.004902, allocations: 30.56 kB / 321.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.004903, allocations: 0 / 321.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001802/0.005083, allocations: 73.56 kB / 321.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.005129, allocations: 77.11 kB / 321.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.005235, allocations: 140.5 kB / 321.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005247, allocations: 25.7 kB / 321.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.00529, allocations: 92.39 kB / 322 MB, free: 2.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.005301, allocations: 4 kB / 322 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.005327, allocations: 17.67 kB / 322 MB, free: 2.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.00541, allocations: 318.8 kB / 322.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.005431, allocations: 4 kB / 322.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.005447, allocations: 11.92 kB / 322.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.005485, allocations: 20.86 kB / 322.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005486, allocations: 3.938 kB / 322.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.983e-05/0.005546, allocations: 57.67 kB / 322.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.005557, allocations: 4 kB / 322.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.00556, allocations: 0 / 322.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.005571, allocations: 0 / 322.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.005618, allocations: 4 kB / 322.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005622, allocations: 0 / 322.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.005638, allocations: 4 kB / 322.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.005646, allocations: 3.984 kB / 322.4 MB, free: 2.102 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 5.046e-05/0.005696, allocations: 109.8 kB / 322.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.005729, allocations: 53.56 kB / 322.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.005751, allocations: 11.8 kB / 322.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005752, allocations: 0 / 322.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.005756, allocations: 0 / 322.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.005758, allocations: 0 / 322.6 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.005859, allocations: 140.7 kB / 322.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.00586, allocations: 0 / 322.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.00588, allocations: 11.98 kB / 322.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005882, allocations: 7.922 kB / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.005888, allocations: 0 / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005889, allocations: 0 / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005889, allocations: 8.031 kB / 322.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.573e-05/0.005985, allocations: 168.2 kB / 322.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.006009, allocations: 7.953 kB / 322.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.006019, allocations: 0 / 322.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.633e-05/0.006065, allocations: 7.984 kB / 323 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.006092, allocations: 0 / 323 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006094, allocations: 0 / 323 MB, free: 1.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.006142, allocations: 111.8 kB / 323.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006142, allocations: 4 kB / 323.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.006287, allocations: 11.94 kB / 323.1 MB, free: 1.383 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 (2): * Single equations (assignments): 2 * 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.0002807/0.006567, allocations: 0.6929 MB / 323.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.47e-05/0.006652, allocations: 19.97 kB / 323.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.006654, allocations: 4 kB / 323.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.006673, allocations: 4 kB / 323.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.006916, allocations: 19.95 kB / 323.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.00792, allocations: 1.281 MB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.007988, allocations: 75.28 kB / 325.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.00802, allocations: 3.984 kB / 325.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.008064, allocations: 16.5 kB / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008065, allocations: 0 / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.02249, allocations: 2.132 MB / 327.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.847, allocations: 3.984 kB / 327.3 MB, free: 13.12 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_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_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.74271272867918]