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.001733/0.001733, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001996/0.001996, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.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 0.001503/0.001503, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 53.36 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003196/0.2804, allocations: 1.712 MB / 432.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005/0.2809, allocations: 179.3 kB / 433 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.281, allocations: 0 / 433 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.208e-05/0.2811, allocations: 11.81 kB / 433 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.2812, allocations: 19.92 kB / 433.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.2815, allocations: 43.83 kB / 433.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2816, allocations: 47.91 kB / 433.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2817, allocations: 16 kB / 433.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.2818, allocations: 27.86 kB / 433.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.2819, allocations: 31.84 kB / 433.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2819, allocations: 4 kB / 433.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.2819, allocations: 4 kB / 433.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.282, allocations: 19.92 kB / 433.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.282, allocations: 39.73 kB / 433.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2822, allocations: 64.09 kB / 433.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2822, allocations: 0 / 433.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2822, allocations: 0 / 433.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2822, allocations: 3.938 kB / 433.4 MB, free: 4.648 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005282/0.2827, allocations: 317.9 kB / 433.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2827, allocations: 8.031 kB / 433.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.2828, allocations: 42.73 kB / 433.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.2828, allocations: 12.89 kB / 433.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2831, allocations: 138.3 kB / 433.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2831, allocations: 4.375 kB / 433.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.2831, allocations: 8.375 kB / 433.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.2835, allocations: 166.3 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2835, allocations: 7.922 kB / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2835, allocations: 4 kB / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2835, allocations: 0 / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.2836, allocations: 43.89 kB / 434.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.284, allocations: 340.9 kB / 434.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.2843, allocations: 107.8 kB / 434.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.2844, allocations: 50.69 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.2844, allocations: 11.98 kB / 434.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2844, allocations: 30.56 kB / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.2844, allocations: 0 / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003483/0.2848, allocations: 125.9 kB / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.2848, allocations: 115.1 kB / 434.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.285, allocations: 136.6 kB / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.285, allocations: 29.7 kB / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.285, allocations: 84.14 kB / 435.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.2851, allocations: 19.88 kB / 435.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2851, allocations: 17.72 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2852, allocations: 326.8 kB / 435.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.2853, allocations: 23.92 kB / 435.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.788e-05/0.2854, allocations: 71.59 kB / 435.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.2855, allocations: 95.59 kB / 435.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2855, allocations: 4 kB / 435.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.2857, allocations: 109.4 kB / 435.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2857, allocations: 4 kB / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2857, allocations: 4 kB / 435.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2858, allocations: 0 / 435.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.2858, allocations: 19.98 kB / 435.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2858, allocations: 12.27 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.2859, allocations: 11.94 kB / 435.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2859, allocations: 4 kB / 435.8 MB, free: 1.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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 prepare postOptimizeDAE: time 0.0001079/0.286, allocations: 129.7 kB / 435.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.2861, allocations: 73.64 kB / 436 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.2862, allocations: 12.72 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2862, allocations: 4 kB / 436 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2862, allocations: 0 / 436 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2862, allocations: 3.984 kB / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.2864, allocations: 160.6 kB / 436.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2864, allocations: 0 / 436.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.2865, allocations: 23.92 kB / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2865, allocations: 0 / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2865, allocations: 8 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2865, allocations: 0 / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2865, allocations: 0 / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.2869, allocations: 316.2 kB / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.287, allocations: 23.88 kB / 436.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.287, allocations: 8 kB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.2871, allocations: 3.984 kB / 436.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.2871, allocations: 4 kB / 436.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.2871, allocations: 288 / 436.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.2872, allocations: 111.2 kB / 436.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2872, allocations: 4 kB / 436.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.2875, allocations: 15.94 kB / 436.7 MB, free: 0.918 MB / 334.1 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.0006328/0.2881, allocations: 0.8368 MB / 437.5 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.2883, allocations: 63.94 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2883, allocations: 7.828 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.2883, allocations: 8.547 kB / 437.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.2888, allocations: 52 kB / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2904, allocations: 1.58 MB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.2908, allocations: 0.704 MB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.2908, allocations: 0.6719 kB / 439.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.2909, allocations: 27.42 kB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2909, allocations: 0 / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.3188, allocations: 2.029 MB / 442 MB, free: 11.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.02, allocations: 6.969 kB / 442 MB, free: 11.55 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/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: 13.575030645999504]