Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008665/0.0008665, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008471/0.0008471, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8664/0.8664, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.252e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003024/0.003046, allocations: 1.705 MB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005518/0.003598, allocations: 159.4 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.00372, allocations: 7.938 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.539e-05/0.003786, allocations: 3.938 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.003999, allocations: 15.86 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.004244, allocations: 51.81 kB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.004352, allocations: 51.8 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004469, allocations: 23.97 kB / 326.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.004518, allocations: 31.91 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.004565, allocations: 15.92 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.004588, allocations: 4 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.004598, allocations: 4 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.004652, allocations: 27.91 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.004675, allocations: 11.94 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.004788, allocations: 63.78 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004789, allocations: 4 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00479, allocations: 0 / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.004812, allocations: 3.984 kB / 326.7 MB, free: 13.68 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.0004705/0.005283, allocations: 309.9 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.005333, allocations: 15.98 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.00537, allocations: 38.73 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.005404, allocations: 12.89 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.005635, allocations: 141.5 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005649, allocations: 8.312 kB / 327.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.005661, allocations: 12.38 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.006, allocations: 163.1 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.006009, allocations: 192 / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.00602, allocations: 4.375 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.006027, allocations: 8.125 kB / 327.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.006107, allocations: 35.97 kB / 327.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.006454, allocations: 332.9 kB / 327.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.006647, allocations: 107.9 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.006711, allocations: 50.62 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.006742, allocations: 7.938 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.006765, allocations: 38.5 kB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.006766, allocations: 0 / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002505/0.007017, allocations: 125.9 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.00709, allocations: 114.8 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.007183, allocations: 140.8 kB / 328.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.007191, allocations: 29.64 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.007229, allocations: 88.14 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.007243, allocations: 11.83 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.00727, allocations: 21.67 kB / 328.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.007344, allocations: 318.8 kB / 328.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.007362, allocations: 4 kB / 328.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.007385, allocations: 25.7 kB / 328.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.007428, allocations: 33.77 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007429, allocations: 0 / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.009e-05/0.007489, allocations: 53.56 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.007502, allocations: 4 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007507, allocations: 4 kB / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.007518, allocations: 0 / 328.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.398e-05/0.007542, allocations: 11.98 kB / 328.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007547, allocations: 4.062 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.007562, allocations: 4 kB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.007566, allocations: 0 / 328.9 MB, free: 11.19 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 5.906e-05/0.007625, allocations: 113.8 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.007702, allocations: 81.52 kB / 329.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.007728, allocations: 16.77 kB / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00773, allocations: 0 / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.007734, allocations: 4 kB / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007737, allocations: 0 / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.00789, allocations: 152.7 kB / 329.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.007894, allocations: 11.94 kB / 329.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.007931, allocations: 19.97 kB / 329.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.007933, allocations: 4 kB / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.007939, allocations: 0 / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007941, allocations: 0 / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007941, allocations: 4 kB / 329.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.008166, allocations: 308.2 kB / 329.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.008197, allocations: 19.94 kB / 329.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.008208, allocations: 7.984 kB / 329.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.207e-05/0.00826, allocations: 11.94 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.008285, allocations: 4 kB / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.008288, allocations: 0 / 329.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.008338, allocations: 119.1 kB / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008338, allocations: 0 / 329.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.008505, allocations: 7.938 kB / 329.8 MB, free: 10.24 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.000574/0.009079, allocations: 0.8539 MB / 330.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.952e-05/0.009168, allocations: 35.92 kB / 330.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.009169, allocations: 0 / 330.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/0.009189, allocations: 15.92 kB / 330.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.00949, allocations: 49.19 kB / 330.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008915/0.01038, allocations: 1.41 MB / 332.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.01045, allocations: 87.27 kB / 332.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.01047, allocations: 7.875 kB / 332.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.01051, allocations: 20.5 kB / 332.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01051, allocations: 0 / 332.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.02658, allocations: 2.458 MB / 334.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.723, allocations: 14.3 kB / 334.8 MB, free: 5.246 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable sample2.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable sample2.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.454318367876112]