Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.0009136/0.0009136, allocations: 79.7 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.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.0009209/0.0009209, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9551/0.9551, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.849e-06, allocations: 4 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/3.096e-05, allocations: 2.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00401/0.004041, allocations: 1.701 MB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005147/0.004556, allocations: 167.3 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.004662, allocations: 0 / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.597e-05/0.004718, allocations: 11.86 kB / 326.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.004878, allocations: 11.88 kB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.005175, allocations: 47.83 kB / 326.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.005303, allocations: 59.83 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.005429, allocations: 19.98 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.005502, allocations: 35.89 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.005557, allocations: 15.92 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.005586, allocations: 4 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.0056, allocations: 8 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.005654, allocations: 15.94 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.005688, allocations: 23.91 kB / 326.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.005835, allocations: 63.72 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005839, allocations: 0 / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.00584, allocations: 0 / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.005845, allocations: 4 kB / 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004875/0.006333, allocations: 317.2 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.006377, allocations: 8.031 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.006415, allocations: 38.75 kB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.006448, allocations: 8.891 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.006715, allocations: 145.5 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006731, allocations: 12.31 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.006745, allocations: 8.312 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.007088, allocations: 161 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.007099, allocations: 4.188 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.007111, allocations: 4.375 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007117, allocations: 4.125 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.007224, allocations: 35.92 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.007615, allocations: 321 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.007851, allocations: 119.8 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.007935, allocations: 54.67 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.007961, allocations: 7.938 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.007984, allocations: 34.56 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.007986, allocations: 4 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003601/0.008346, allocations: 129.6 kB / 328.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.00841, allocations: 110.8 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.008521, allocations: 140.7 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.008533, allocations: 25.7 kB / 328.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.008579, allocations: 88.12 kB / 328.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.008596, allocations: 11.89 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.008634, allocations: 17.67 kB / 328.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.008728, allocations: 318.8 kB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.008759, allocations: 8 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.008791, allocations: 21.7 kB / 328.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.008849, allocations: 29.72 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008851, allocations: 3.938 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/0.008958, allocations: 57.61 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.008976, allocations: 8 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.008981, allocations: 0 / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.008995, allocations: 3.938 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.381e-05/0.009029, allocations: 4 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.009035, allocations: 0 / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.00906, allocations: 12.05 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.009065, allocations: 0 / 329 MB, free: 11.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.146e-05/0.009147, allocations: 117.8 kB / 329.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.009268, allocations: 73.58 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.009304, allocations: 12.78 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.009309, allocations: 4 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.009314, allocations: 0 / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.009319, allocations: 3.984 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.009552, allocations: 148.7 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.009557, allocations: 11.92 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.009622, allocations: 23.94 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.009626, allocations: 3.984 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.009634, allocations: 0 / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.009639, allocations: 7.984 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.00964, allocations: 0 / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.009952, allocations: 308.3 kB / 329.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.009999, allocations: 19.94 kB / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01001, allocations: 4 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.01011, allocations: 8.031 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.01015, allocations: 11.92 kB / 329.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.01015, allocations: 4 kB / 329.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.0103, allocations: 109.7 kB / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0103, allocations: 0 / 329.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.0106, allocations: 7.938 kB / 329.9 MB, free: 10.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0005165/0.01112, allocations: 0.8499 MB / 330.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01125, allocations: 51.89 kB / 330.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01125, allocations: 0 / 330.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.01128, allocations: 8 kB / 330.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.01178, allocations: 47.88 kB / 330.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01306, allocations: 1.41 MB / 332.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.01315, allocations: 91.55 kB / 332.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.194e-05/0.01318, allocations: 3.75 kB / 332.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.01324, allocations: 24.48 kB / 332.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01324, allocations: 0 / 332.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.02964, allocations: 2.463 MB / 334.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.862, allocations: 11.09 kB / 334.8 MB, free: 5.312 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable sample2.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample2.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.748258974403143]