Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.002015/0.002015, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002103/0.002103, allocations: 186.6 kB / 23.72 MB, free: 4.684 MB / 14.72 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 1.612/1.612, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 43.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2944, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003322/0.2977, allocations: 1.576 MB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.2987, allocations: 478.8 kB / 424.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.2988, allocations: 3.938 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.2988, allocations: 3.938 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.299, allocations: 15.88 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.2992, allocations: 43.83 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2993, allocations: 35.86 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2995, allocations: 7.984 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.2996, allocations: 19.88 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.2996, allocations: 23.91 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.2996, allocations: 4 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.2997, allocations: 4 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.2997, allocations: 15.92 kB / 424.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.2998, allocations: 23.81 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.2999, allocations: 44.17 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2999, allocations: 0 / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2999, allocations: 0 / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.2999, allocations: 0 / 424.9 MB, free: 12.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000543/0.3004, allocations: 302 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3005, allocations: 12.03 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.3005, allocations: 34.75 kB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3006, allocations: 8.891 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3009, allocations: 134.3 kB / 425.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3009, allocations: 4.375 kB / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.3009, allocations: 384 / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.3012, allocations: 105.2 kB / 425.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3012, allocations: 0 / 425.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3012, allocations: 0 / 425.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3012, allocations: 0 / 425.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.3013, allocations: 15.97 kB / 425.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3017, allocations: 236.8 kB / 425.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.3018, allocations: 53.14 kB / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.3019, allocations: 13.78 kB / 425.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3019, allocations: 8 kB / 425.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.3019, allocations: 42.48 kB / 425.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3019, allocations: 0 / 425.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002632/0.3022, allocations: 61.64 kB / 425.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3022, allocations: 81.05 kB / 426 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3024, allocations: 137.8 kB / 426.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3024, allocations: 25.7 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.3025, allocations: 84.39 kB / 426.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.3025, allocations: 8 kB / 426.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3025, allocations: 21.66 kB / 426.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3027, allocations: 318.8 kB / 426.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.3027, allocations: 8 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.3027, allocations: 17.7 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.3028, allocations: 37.7 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3028, allocations: 0 / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.3029, allocations: 53.62 kB / 426.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.303, allocations: 8 kB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.303, allocations: 0 / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.303, allocations: 4 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.3031, allocations: 7.984 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3031, allocations: 4.062 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.3031, allocations: 4 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3031, allocations: 0 / 426.7 MB, free: 10.26 MB / 334.1 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 9.174e-05/0.3032, allocations: 125.7 kB / 426.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.3033, allocations: 37.66 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.3033, allocations: 11.81 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3033, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3033, allocations: 3.984 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3033, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3035, allocations: 148.7 kB / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3035, allocations: 3.984 kB / 427.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.3035, allocations: 4 kB / 427.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3035, allocations: 0 / 427.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3035, allocations: 3.938 kB / 427.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3035, allocations: 4 kB / 427.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3035, allocations: 0 / 427.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.3037, allocations: 172.2 kB / 427.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3038, allocations: 7.953 kB / 427.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3038, allocations: 3.984 kB / 427.2 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.3039, allocations: 4 kB / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.3039, allocations: 0 / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3039, allocations: 0 / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.304, allocations: 109.9 kB / 427.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 427.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3042, allocations: 12.03 kB / 427.4 MB, free: 9.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000581/0.3048, allocations: 0.6968 MB / 428.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.3049, allocations: 20.02 kB / 428.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3049, allocations: 0 / 428.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.305, allocations: 15.94 kB / 428.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.3053, allocations: 15.95 kB / 428.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.3068, allocations: 1.297 MB / 429.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3071, allocations: 0.6922 MB / 430.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.595e-05/0.3071, allocations: 0 / 430.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.3072, allocations: 19.42 kB / 430.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3072, allocations: 0 / 430.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.3369, allocations: 1.569 MB / 431.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.77, allocations: 6.172 kB / 431.7 MB, free: 5.199 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_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_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.622635824001918]