Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.0008348/0.0008348, 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.0008895/0.0008895, 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.8972/0.8972, allocations: 173.4 MB / 200.4 MB, free: 9.418 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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 318.4 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.064e-05, allocations: 2.281 kB / 318.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002337/0.002358, allocations: 1.672 MB / 320.1 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.002693, allocations: 163.3 kB / 320.3 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.002775, allocations: 0 / 320.3 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.002818, allocations: 15.8 kB / 320.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.002953, allocations: 15.88 kB / 320.3 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.003154, allocations: 43.83 kB / 320.4 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.003244, allocations: 51.84 kB / 320.4 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.003341, allocations: 31.95 kB / 320.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.003388, allocations: 31.91 kB / 320.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.003434, allocations: 19.91 kB / 320.5 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.003456, allocations: 8 kB / 320.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.003467, allocations: 4 kB / 320.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.003509, allocations: 15.92 kB / 320.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.003533, allocations: 15.94 kB / 320.5 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.003639, allocations: 67.77 kB / 320.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003641, allocations: 3.938 kB / 320.6 MB, free: 4.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003642, allocations: 3.938 kB / 320.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003645, allocations: 0 / 320.6 MB, free: 4.047 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003606/0.004006, allocations: 317.2 kB / 320.9 MB, free: 3.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.004043, allocations: 8.922 kB / 320.9 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.004078, allocations: 46.73 kB / 321 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.004103, allocations: 12.84 kB / 321 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.004271, allocations: 133.6 kB / 321.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.004282, allocations: 8.312 kB / 321.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.004292, allocations: 8.375 kB / 321.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.004578, allocations: 170.3 kB / 321.3 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004586, allocations: 192 / 321.3 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004594, allocations: 384 / 321.3 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.004601, allocations: 4.125 kB / 321.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.004674, allocations: 39.91 kB / 321.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.005004, allocations: 329 kB / 321.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.005193, allocations: 115.7 kB / 321.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.005256, allocations: 54.69 kB / 321.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.005277, allocations: 7.938 kB / 321.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.005294, allocations: 34.56 kB / 321.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.01e-07/0.005295, allocations: 0 / 321.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002227/0.005518, allocations: 121.5 kB / 322 MB, free: 2.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.005577, allocations: 111.1 kB / 322.1 MB, free: 2.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.005668, allocations: 140.3 kB / 322.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.005679, allocations: 25.95 kB / 322.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.005723, allocations: 96.14 kB / 322.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.005739, allocations: 11.89 kB / 322.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.005763, allocations: 13.72 kB / 322.4 MB, free: 2.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.005855, allocations: 318.8 kB / 322.7 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.005874, allocations: 4 kB / 322.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.005896, allocations: 25.64 kB / 322.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.005939, allocations: 33.64 kB / 322.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005941, allocations: 4.062 kB / 322.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.17e-05/0.006002, allocations: 57.58 kB / 322.8 MB, free: 1.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006015, allocations: 4 kB / 322.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.00602, allocations: 0 / 322.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.006031, allocations: 0 / 322.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.411e-05/0.006055, allocations: 7.938 kB / 322.8 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.006063, allocations: 11.97 kB / 322.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.006077, allocations: 0 / 322.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.006081, allocations: 0 / 322.8 MB, free: 1.559 MB / 282.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 6.3e-05/0.006144, allocations: 121.9 kB / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.006218, allocations: 81.72 kB / 323 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.006247, allocations: 16.77 kB / 323 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.00625, allocations: 4 kB / 323.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.006256, allocations: 0 / 323.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.00626, allocations: 0 / 323.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.006413, allocations: 148.7 kB / 323.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006415, allocations: 3.938 kB / 323.2 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.006456, allocations: 31.91 kB / 323.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006458, allocations: 0 / 323.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.006467, allocations: 12 kB / 323.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006468, allocations: 3.938 kB / 323.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.006469, allocations: 0 / 323.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.006714, allocations: 308.3 kB / 323.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.006752, allocations: 19.94 kB / 323.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.006763, allocations: 0 / 323.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.62e-05/0.006819, allocations: 11.92 kB / 323.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.006843, allocations: 0 / 323.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.006849, allocations: 12 kB / 323.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.006898, allocations: 113.7 kB / 323.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006898, allocations: 0 / 323.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.007069, allocations: 11.94 kB / 323.7 MB, free: 0.5938 MB / 282.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.0003773/0.007446, allocations: 0.8422 MB / 324.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.007551, allocations: 39.91 kB / 324.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007552, allocations: 4.125 kB / 324.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.007573, allocations: 12 kB / 324.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.007891, allocations: 32.02 kB / 324.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.009142, allocations: 1.421 MB / 326.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.124e-05/0.009223, allocations: 91.42 kB / 326.2 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.009257, allocations: 4 kB / 326.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.009313, allocations: 20.5 kB / 326.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of SimCode: time 1.502e-06/0.009314, allocations: 0 / 326.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.02808, allocations: 2.473 MB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.814, allocations: 3.984 kB / 328.7 MB, free: 11.62 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable sample2.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample2.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.596512573771179]