Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001262/0.001262, 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.0008759/0.0008759, allocations: 149.4 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.8879/0.8879, 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.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.532e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002093/0.002109, allocations: 1.478 MB / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005408/0.002649, allocations: 411 kB / 320.3 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.002722, allocations: 0 / 320.3 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.002753, allocations: 3.938 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.937e-05/0.002822, allocations: 15.86 kB / 320.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.003111, allocations: 35.78 kB / 320.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.003213, allocations: 39.86 kB / 320.4 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.003311, allocations: 7.984 kB / 320.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.003389, allocations: 27.92 kB / 320.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.003442, allocations: 15.97 kB / 320.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.003466, allocations: 4 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.003474, allocations: 0 / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.003494, allocations: 7.938 kB / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.003523, allocations: 11.98 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.962e-05/0.003613, allocations: 35.88 kB / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003615, allocations: 0 / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003616, allocations: 0 / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.003621, allocations: 0 / 320.5 MB, free: 4.246 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003529/0.003973, allocations: 274.2 kB / 320.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.004016, allocations: 12.92 kB / 320.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.004047, allocations: 38.73 kB / 320.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.004082, allocations: 8.891 kB / 320.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.004246, allocations: 125.6 kB / 321 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.004256, allocations: 4.375 kB / 321 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.004265, allocations: 384 / 321 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.004506, allocations: 115.9 kB / 321.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004513, allocations: 192 / 321.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004523, allocations: 4.125 kB / 321.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004527, allocations: 0 / 321.1 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.004585, allocations: 23.92 kB / 321.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.004686, allocations: 128.8 kB / 321.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.779e-05/0.004784, allocations: 54.55 kB / 321.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.004823, allocations: 28.92 kB / 321.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.004841, allocations: 0 / 321.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.004859, allocations: 34.56 kB / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.00486, allocations: 0 / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001757/0.005036, allocations: 77.5 kB / 321.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.005074, allocations: 59.41 kB / 321.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.00514, allocations: 117.7 kB / 321.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.00515, allocations: 25.7 kB / 321.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.005181, allocations: 88.12 kB / 321.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.005183, allocations: 0 / 321.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.005204, allocations: 21.72 kB / 321.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.005282, allocations: 314.8 kB / 322.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.005286, allocations: 0 / 322.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-06/0.005288, allocations: 0 / 322.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.005308, allocations: 75.28 kB / 322.1 MB, free: 2.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.005326, allocations: 79.28 kB / 322.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.35e-05/0.00536, allocations: 29.64 kB / 322.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.005391, allocations: 83.28 kB / 322.3 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.005411, allocations: 79.27 kB / 322.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.726e-05/0.005458, allocations: 158.4 kB / 322.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.848e-05/0.005476, allocations: 79.38 kB / 322.6 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/0.005514, allocations: 158.6 kB / 322.8 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.005558, allocations: 83.22 kB / 322.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.005577, allocations: 79.28 kB / 322.9 MB, free: 1.633 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 (0): * Single equations (assignments): 0 * 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 7.193e-05/0.005649, allocations: 181.1 kB / 323.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.005733, allocations: 73.73 kB / 323.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.005758, allocations: 8 kB / 323.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.005761, allocations: 7.938 kB / 323.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005765, allocations: 0 / 323.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005768, allocations: 0 / 323.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.767e-05/0.005826, allocations: 128.8 kB / 323.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.005829, allocations: 0 / 323.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.005898, allocations: 11.98 kB / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0059, allocations: 0 / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.005907, allocations: 0 / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.005911, allocations: 7.938 kB / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.005913, allocations: 7.984 kB / 323.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.00601, allocations: 89 kB / 323.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.006032, allocations: 7.984 kB / 323.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.006042, allocations: 0 / 323.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.763e-05/0.006059, allocations: 15.94 kB / 323.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-06/0.006061, allocations: 3.938 kB / 323.5 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.006067, allocations: 0 / 323.5 MB, free: 1.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.403e-05/0.006101, allocations: 91.58 kB / 323.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006101, allocations: 0 / 323.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.006241, allocations: 8 kB / 323.6 MB, free: 0.918 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002495/0.006491, allocations: 0.6124 MB / 324.2 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.964e-05/0.006551, allocations: 23.92 kB / 324.2 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006552, allocations: 4 kB / 324.2 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.006552, allocations: 0 / 324.2 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.006737, allocations: 30.83 kB / 324.2 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.007457, allocations: 1.398 MB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.007497, allocations: 63.34 kB / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.668e-06/0.007506, allocations: 0 / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.007541, allocations: 16.5 kB / 325.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007542, allocations: 3.938 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.02196, allocations: 1.909 MB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.712, allocations: 10.72 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.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.532479910179973]