Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001577/0.001577, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001751/0.001751, allocations: 183.1 kB / 23.72 MB, free: 4.699 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.546/1.546, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 47.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3703, allocations: 52.17 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003469/0.3738, allocations: 1.579 MB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3749, allocations: 0.4987 MB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.375, allocations: 3.938 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.332e-05/0.375, allocations: 7.922 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.3752, allocations: 11.92 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.3755, allocations: 47.83 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3756, allocations: 47.78 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3757, allocations: 12 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.3758, allocations: 31.84 kB / 424.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.3758, allocations: 19.86 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3758, allocations: 4 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3759, allocations: 4 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.3759, allocations: 15.98 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.376, allocations: 23.81 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3761, allocations: 59.11 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3761, allocations: 0 / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3761, allocations: 0 / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3761, allocations: 0 / 425 MB, free: 12.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005254/0.3766, allocations: 303 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3767, allocations: 12.03 kB / 425.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.3767, allocations: 30.75 kB / 425.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.3767, allocations: 12.83 kB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.377, allocations: 149.4 kB / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.377, allocations: 4.375 kB / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.377, allocations: 384 / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.3773, allocations: 113.2 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3773, allocations: 0 / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3773, allocations: 4 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3773, allocations: 0 / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.3774, allocations: 15.98 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.3778, allocations: 244.7 kB / 425.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.117e-05/0.3779, allocations: 41.2 kB / 425.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.3779, allocations: 21.77 kB / 425.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.378, allocations: 3.938 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.378, allocations: 38.56 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.378, allocations: 0 / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002655/0.3783, allocations: 61.61 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.3783, allocations: 89.05 kB / 426.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3785, allocations: 138.4 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3785, allocations: 29.7 kB / 426.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.3786, allocations: 92.12 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.3786, allocations: 0 / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.3786, allocations: 21.67 kB / 426.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3788, allocations: 314.8 kB / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.3788, allocations: 11.98 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.3789, allocations: 21.72 kB / 426.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.809e-05/0.379, allocations: 29.64 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.379, allocations: 0 / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/0.3791, allocations: 57.67 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3791, allocations: 4 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3791, allocations: 0 / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3791, allocations: 12 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.488e-05/0.3792, allocations: 4 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3792, allocations: 4 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.3792, allocations: 3.984 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3793, allocations: 0 / 426.8 MB, free: 10.16 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 0.0001005/0.3794, allocations: 125.7 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.3794, allocations: 33.66 kB / 427 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3795, allocations: 15.8 kB / 427 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3795, allocations: 8.016 kB / 427 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3795, allocations: 4 kB / 427 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3795, allocations: 0 / 427 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3797, allocations: 140.7 kB / 427.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3797, allocations: 0 / 427.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.3797, allocations: 4 kB / 427.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3797, allocations: 7.938 kB / 427.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3797, allocations: 3.984 kB / 427.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3797, allocations: 0 / 427.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3797, allocations: 0 / 427.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.3799, allocations: 160.3 kB / 427.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.38, allocations: 15.94 kB / 427.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.38, allocations: 4 kB / 427.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.38, allocations: 0 / 427.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.3801, allocations: 3.984 kB / 427.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.3801, allocations: 8 kB / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.3802, allocations: 110.2 kB / 427.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3802, allocations: 0 / 427.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3804, allocations: 4 kB / 427.5 MB, free: 9.449 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.0005855/0.381, allocations: 0.7014 MB / 428.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3811, allocations: 23.92 kB / 428.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3811, allocations: 0 / 428.2 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.3812, allocations: 11.98 kB / 428.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3815, allocations: 19.95 kB / 428.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.383, allocations: 1.316 MB / 429.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3834, allocations: 0.6961 MB / 430.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.3834, allocations: 4 kB / 430.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.3835, allocations: 15.42 kB / 430.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3835, allocations: 4.031 kB / 430.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.4139, allocations: 1.635 MB / 431.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.04, allocations: 6.234 kB / 431.9 MB, free: 5.008 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.796257216999948]