Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001285/0.001285, allocations: 112 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.001318/0.001318, allocations: 181.3 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.55/1.55, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 47.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3323, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003126/0.3355, allocations: 1.572 MB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00091/0.3364, allocations: 478.8 kB / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.3364, allocations: 0 / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.044e-05/0.3365, allocations: 15.92 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3367, allocations: 11.86 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3369, allocations: 47.83 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3371, allocations: 43.86 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3372, allocations: 11.98 kB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.3373, allocations: 23.86 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.3373, allocations: 23.84 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3373, allocations: 4 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.3374, allocations: 4 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.3374, allocations: 12 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.3374, allocations: 31.73 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3376, allocations: 52.17 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3376, allocations: 0 / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3376, allocations: 0 / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3376, allocations: 0 / 424.9 MB, free: 12.29 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.0005264/0.3381, allocations: 302 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3382, allocations: 12.03 kB / 425.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.3382, allocations: 38.62 kB / 425.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.3382, allocations: 8.891 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3385, allocations: 150.3 kB / 425.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3385, allocations: 4.375 kB / 425.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3386, allocations: 4.375 kB / 425.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.3388, allocations: 109.2 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3389, allocations: 0 / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3389, allocations: 4 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3389, allocations: 3.984 kB / 425.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.339, allocations: 15.98 kB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.3393, allocations: 244.7 kB / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.911e-05/0.3394, allocations: 45.2 kB / 425.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.3395, allocations: 21.72 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3395, allocations: 4 kB / 425.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3395, allocations: 30.56 kB / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3395, allocations: 0 / 425.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002847/0.3398, allocations: 69.61 kB / 426 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.3399, allocations: 81.11 kB / 426.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3401, allocations: 144.7 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3401, allocations: 25.7 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.3402, allocations: 88.14 kB / 426.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3402, allocations: 0 / 426.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.3402, allocations: 25.91 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3404, allocations: 318.8 kB / 426.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.3404, allocations: 15.98 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.3405, allocations: 17.72 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.3405, allocations: 33.64 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3405, allocations: 4.062 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001197/0.3407, allocations: 53.62 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3407, allocations: 4 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3407, allocations: 7.922 kB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3407, allocations: 0 / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.3408, allocations: 8 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3408, allocations: 0 / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.3408, allocations: 0 / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3408, allocations: 8.062 kB / 426.8 MB, free: 10.18 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.0001105/0.3409, allocations: 125.7 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.341, allocations: 33.66 kB / 427 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.341, allocations: 15.8 kB / 427 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.341, allocations: 0 / 427 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.341, allocations: 4 kB / 427 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.341, allocations: 0 / 427 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3412, allocations: 144.6 kB / 427.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3412, allocations: 0 / 427.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.3413, allocations: 15.97 kB / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3413, allocations: 0 / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3413, allocations: 0 / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3413, allocations: 0 / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3413, allocations: 0 / 427.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3415, allocations: 160.3 kB / 427.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.3416, allocations: 19.97 kB / 427.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3416, allocations: 4 kB / 427.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.3417, allocations: 0 / 427.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.3417, allocations: 0 / 427.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3417, allocations: 4 kB / 427.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.939e-05/0.3418, allocations: 107.2 kB / 427.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3418, allocations: 0 / 427.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.342, allocations: 11.94 kB / 427.4 MB, free: 9.473 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.0005504/0.3426, allocations: 0.6937 MB / 428.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.3427, allocations: 19.92 kB / 428.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3427, allocations: 0 / 428.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.3427, allocations: 16.14 kB / 428.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3431, allocations: 22.75 kB / 428.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3446, allocations: 1.319 MB / 429.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.345, allocations: 0.6962 MB / 430.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.099e-05/0.345, allocations: 4 kB / 430.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.3451, allocations: 11.44 kB / 430.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3451, allocations: 0 / 430.2 MB, free: 6.551 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.3763, allocations: 1.637 MB / 431.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.97, allocations: 5.422 kB / 431.9 MB, free: 5.043 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_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_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.68126110600133]