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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001805/0.001805, allocations: 202.9 kB / 23.73 MB, free: 4.379 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001528/0.001528, allocations: 55.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2909, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003073/0.2939, allocations: 1.691 MB / 432.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.2944, allocations: 171.3 kB / 433 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.594e-05/0.2945, allocations: 3.938 kB / 433 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/0.2946, allocations: 3.938 kB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.2947, allocations: 23.86 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.295, allocations: 39.89 kB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2951, allocations: 51.84 kB / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2952, allocations: 19.98 kB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.2953, allocations: 23.88 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.2953, allocations: 27.84 kB / 433.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.2954, allocations: 8 kB / 433.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.2954, allocations: 4 kB / 433.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.2954, allocations: 19.92 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.2955, allocations: 27.8 kB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2956, allocations: 65.36 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2956, allocations: 4 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.2956, allocations: 3.984 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2956, allocations: 0 / 433.3 MB, free: 4.441 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.0005109/0.2961, allocations: 320.6 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2962, allocations: 15.97 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.2962, allocations: 42.73 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.2963, allocations: 8.891 kB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2965, allocations: 134.4 kB / 433.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2965, allocations: 8.375 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.2965, allocations: 8.375 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.2969, allocations: 170.3 kB / 434 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2969, allocations: 3.938 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.2969, allocations: 0 / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2969, allocations: 0 / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.2971, allocations: 39.91 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.2975, allocations: 333 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.2977, allocations: 107.8 kB / 434.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2978, allocations: 58.69 kB / 434.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2979, allocations: 0 / 434.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2979, allocations: 34.56 kB / 434.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.2979, allocations: 0 / 434.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003291/0.2982, allocations: 117.5 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.2983, allocations: 114.8 kB / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2984, allocations: 140.5 kB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.2985, allocations: 25.7 kB / 434.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.2985, allocations: 96.23 kB / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.2985, allocations: 24.05 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.2986, allocations: 29.67 kB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2987, allocations: 318.8 kB / 435.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.2988, allocations: 16 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.2989, allocations: 67.66 kB / 435.5 MB, free: 1.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.299, allocations: 95.64 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.299, allocations: 7.938 kB / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.2992, allocations: 97.77 kB / 435.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2992, allocations: 12 kB / 435.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2992, allocations: 0 / 435.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2992, allocations: 4 kB / 435.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.2993, allocations: 19.98 kB / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2993, allocations: 4 kB / 435.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.2994, allocations: 11.95 kB / 435.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2994, allocations: 4 kB / 435.7 MB, free: 1.699 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.0001094/0.2995, allocations: 129.7 kB / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.2996, allocations: 69.64 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.2996, allocations: 16.72 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.2996, allocations: 11.98 kB / 435.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2997, allocations: 0 / 435.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2997, allocations: 0 / 435.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.2999, allocations: 152.6 kB / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2999, allocations: 0 / 436.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.3, allocations: 23.92 kB / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3, allocations: 0 / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3, allocations: 4 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3, allocations: 8 kB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3, allocations: 0 / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.3004, allocations: 320.2 kB / 436.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.3004, allocations: 24.16 kB / 436.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3004, allocations: 8 kB / 436.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.3005, allocations: 0 / 436.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3006, allocations: 7.938 kB / 436.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3006, allocations: 4 kB / 436.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.3007, allocations: 107.2 kB / 436.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3007, allocations: 3.938 kB / 436.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.301, allocations: 12 kB / 436.6 MB, free: 0.7305 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.0006915/0.3017, allocations: 0.8421 MB / 437.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.3019, allocations: 55.84 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3019, allocations: 0 / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.3019, allocations: 16.62 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.3024, allocations: 50.98 kB / 437.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.304, allocations: 1.574 MB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.404e-05/0.3041, allocations: 95.27 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.3041, allocations: 8.656 kB / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.3041, allocations: 19.44 kB / 439.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3041, allocations: 0 / 439.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.3319, allocations: 2.463 MB / 441.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.05, allocations: 7.75 kB / 441.7 MB, free: 11.56 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.53624793200288]