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.0008506/0.0008506, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009348/0.0009348, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9208/0.9208, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.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 1.783e-06/1.783e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.153e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003236/0.003258, allocations: 1.512 MB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.004124, allocations: 450.8 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.004198, allocations: 0 / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.00423, allocations: 3.938 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.004307, allocations: 7.875 kB / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.004643, allocations: 47.83 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.004758, allocations: 39.84 kB / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.00488, allocations: 8 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.005056, allocations: 31.91 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.005112, allocations: 12 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.005132, allocations: 3.984 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.005175, allocations: 11.88 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.005194, allocations: 15.92 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.005225, allocations: 4 kB / 326.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.005361, allocations: 43.88 kB / 326.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005363, allocations: 4 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005365, allocations: 0 / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00537, allocations: 0 / 326.8 MB, free: 13.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004336/0.005803, allocations: 277.1 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.005849, allocations: 12.03 kB / 327 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.005888, allocations: 34.75 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.006046, allocations: 12.92 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.006255, allocations: 121.7 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.006267, allocations: 4.375 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.006278, allocations: 8.375 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.006748, allocations: 115.8 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.006757, allocations: 192 / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.006768, allocations: 4.125 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006773, allocations: 0 / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.175e-05/0.006865, allocations: 19.98 kB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.006998, allocations: 132.7 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.007141, allocations: 58.48 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.007199, allocations: 28.92 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.007218, allocations: 0 / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.00724, allocations: 38.5 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.007241, allocations: 0 / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002293/0.00747, allocations: 73.8 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.007522, allocations: 63.38 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.007607, allocations: 121.7 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.007619, allocations: 25.7 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.007658, allocations: 88.12 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.007661, allocations: 0 / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.007687, allocations: 13.72 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.007777, allocations: 310.8 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.007782, allocations: 0 / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-06/0.007786, allocations: 0 / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.007812, allocations: 79.28 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/0.007833, allocations: 75.28 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.8e-05/0.007891, allocations: 37.64 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.007925, allocations: 87.28 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.007953, allocations: 79.22 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.145e-05/0.008005, allocations: 158.6 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.333e-05/0.008028, allocations: 83.22 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.15e-05/0.008069, allocations: 150.6 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.008135, allocations: 75.28 kB / 329.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.00816, allocations: 87.2 kB / 329.2 MB, free: 11.11 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 (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 8.474e-05/0.008245, allocations: 185.1 kB / 329.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.008358, allocations: 57.69 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.008389, allocations: 15.98 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.008394, allocations: 3.938 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.008398, allocations: 0 / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008401, allocations: 0 / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.953e-05/0.00849, allocations: 124.8 kB / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.008494, allocations: 0 / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.008585, allocations: 8 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.008589, allocations: 0 / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.0086, allocations: 12.36 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.008608, allocations: 11.88 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008609, allocations: 0 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.008745, allocations: 89.06 kB / 329.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.008773, allocations: 7.938 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.008787, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.008815, allocations: 7.938 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-06/0.008818, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.008825, allocations: 3.938 kB / 329.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.675e-05/0.008871, allocations: 91.27 kB / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.008872, allocations: 0 / 329.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.009111, allocations: 4 kB / 329.8 MB, free: 10.42 MB / 298.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.0004103/0.009521, allocations: 0.628 MB / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.009604, allocations: 15.98 kB / 330.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009606, allocations: 0 / 330.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.009606, allocations: 0 / 330.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.009872, allocations: 30.39 kB / 330.5 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.01109, allocations: 1.399 MB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.01115, allocations: 63.34 kB / 331.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.483e-05/0.01116, allocations: 4 kB / 331.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.0112, allocations: 20.48 kB / 331.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0112, allocations: 0 / 331.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.02906, allocations: 1.916 MB / 333.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/6.877, allocations: 0 / 333.9 MB, free: 6.336 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/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: 8.722099816426635]