Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.001579/0.001579, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 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.001917/0.001917, allocations: 208.2 kB / 23.72 MB, free: 4.527 MB / 14.72 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 1.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 43.92 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2829, allocations: 53.36 MB / 431.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002659/0.2855, allocations: 1.51 MB / 432.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.2863, allocations: 446.9 kB / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.2864, allocations: 4 kB / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.2864, allocations: 3.938 kB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.2865, allocations: 11.88 kB / 433.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2868, allocations: 27.91 kB / 433.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.898e-05/0.2869, allocations: 35.92 kB / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.287, allocations: 11.98 kB / 433.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2871, allocations: 27.84 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.2871, allocations: 15.88 kB / 433.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2871, allocations: 4 kB / 433.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.203e-05/0.2872, allocations: 11.98 kB / 433.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.2872, allocations: 8 kB / 433.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.2872, allocations: 11.94 kB / 433.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.2874, allocations: 49.44 kB / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2874, allocations: 0 / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2874, allocations: 0 / 433.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2874, allocations: 0 / 433.3 MB, free: 4.508 MB / 334.1 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.0004164/0.2878, allocations: 280.9 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2878, allocations: 8.031 kB / 433.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.2879, allocations: 34.75 kB / 433.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.288, allocations: 16.92 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.2882, allocations: 122.4 kB / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.2882, allocations: 4.375 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.2882, allocations: 384 / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.2885, allocations: 123.4 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.2885, allocations: 3.938 kB / 433.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2885, allocations: 4 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2886, allocations: 0 / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.2886, allocations: 23.92 kB / 433.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.2888, allocations: 132.7 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.2889, allocations: 54.55 kB / 434 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.289, allocations: 24.92 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.289, allocations: 0 / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.289, allocations: 34.5 kB / 434.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.289, allocations: 4 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002327/0.2893, allocations: 81.59 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.2893, allocations: 55.41 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.2894, allocations: 113.8 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2894, allocations: 33.69 kB / 434.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.2895, allocations: 80.14 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-06/0.2895, allocations: 0 / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.2895, allocations: 17.72 kB / 434.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2896, allocations: 318.8 kB / 434.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.2896, allocations: 3.984 kB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.2897, allocations: 27.44 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.2897, allocations: 39.38 kB / 434.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2897, allocations: 0 / 434.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.534e-05/0.2898, allocations: 65.45 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2898, allocations: 8 kB / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2898, allocations: 0 / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2898, allocations: 4.125 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.2899, allocations: 8 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.2899, allocations: 3.984 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.2899, allocations: 12 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.2899, allocations: 0 / 435 MB, free: 2.582 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.096e-05/0.29, allocations: 113.8 kB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2901, allocations: 65.56 kB / 435.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2902, allocations: 12.36 kB / 435.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2902, allocations: 0 / 435.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2902, allocations: 0 / 435.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2902, allocations: 8 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.2903, allocations: 132.6 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2903, allocations: 0 / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.2903, allocations: 11.94 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2903, allocations: 0 / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2903, allocations: 3.984 kB / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2903, allocations: 0 / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2903, allocations: 0 / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2905, allocations: 89.05 kB / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.2905, allocations: 15.89 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2905, allocations: 4 kB / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/0.2905, allocations: 0 / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.2906, allocations: 3.938 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2906, allocations: 7.984 kB / 435.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.2906, allocations: 83.28 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2906, allocations: 4 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001999/0.2908, allocations: 4 kB / 435.5 MB, free: 1.949 MB / 334.1 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.0004311/0.2912, allocations: 0.6202 MB / 436.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.2914, allocations: 32.34 kB / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2914, allocations: 0 / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2914, allocations: 0 / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.2916, allocations: 19.94 kB / 436.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2926, allocations: 1.191 MB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.448e-05/0.2927, allocations: 67.59 kB / 437.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.279e-05/0.2927, allocations: 4 kB / 437.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.2927, allocations: 15.42 kB / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2927, allocations: 0 / 437.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.32, allocations: 1.849 MB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.93, allocations: 12.06 kB / 439.3 MB, free: 14.13 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.47852536800201]