Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001382/0.001382, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001448/0.001448, allocations: 209 kB / 23.73 MB, free: 4.523 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2566, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002812/0.2594, allocations: 1.565 MB / 432.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2604, allocations: 0.4987 MB / 433.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.2605, allocations: 7.938 kB / 433.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.2606, allocations: 7.922 kB / 433.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.2607, allocations: 7.938 kB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.261, allocations: 59.8 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2611, allocations: 47.8 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.2612, allocations: 12.17 kB / 433.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2613, allocations: 31.86 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.2614, allocations: 23.86 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2614, allocations: 4 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.55e-05/0.2615, allocations: 15.98 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.2615, allocations: 11.94 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.2615, allocations: 15.86 kB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2617, allocations: 61.38 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2617, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2617, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2617, allocations: 4 kB / 433.4 MB, free: 4.27 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.0004353/0.2621, allocations: 301.9 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2621, allocations: 16.03 kB / 433.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.2622, allocations: 34.75 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.2623, allocations: 20.88 kB / 433.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2625, allocations: 148.7 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2626, allocations: 384 / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2626, allocations: 12.3 kB / 434 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.2628, allocations: 113 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2628, allocations: 0 / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.2628, allocations: 0 / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2628, allocations: 4 kB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.072e-05/0.2629, allocations: 11.98 kB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.2632, allocations: 236.8 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.2633, allocations: 37.22 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.2633, allocations: 25.7 kB / 434.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2634, allocations: 4 kB / 434.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2634, allocations: 38.5 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2634, allocations: 4 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002276/0.2636, allocations: 65.56 kB / 434.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.2637, allocations: 81.11 kB / 434.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2638, allocations: 141.8 kB / 434.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2638, allocations: 25.7 kB / 434.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.2639, allocations: 88.14 kB / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.2639, allocations: 8.203 kB / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.2639, allocations: 13.72 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.264, allocations: 322.8 kB / 435.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.2641, allocations: 8 kB / 435.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.166e-05/0.2641, allocations: 21.7 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.2642, allocations: 33.64 kB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2642, allocations: 0 / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.2643, allocations: 65.64 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2643, allocations: 8 kB / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2643, allocations: 0 / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2644, allocations: 0 / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.2644, allocations: 7.984 kB / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2644, allocations: 3.984 kB / 435.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.2645, allocations: 4 kB / 435.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2645, allocations: 0 / 435.3 MB, free: 2.168 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 8.4e-05/0.2646, allocations: 121.8 kB / 435.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.2646, allocations: 41.72 kB / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.2647, allocations: 15.77 kB / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2647, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2647, allocations: 3.938 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2647, allocations: 3.984 kB / 435.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.2648, allocations: 136.7 kB / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2648, allocations: 0 / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.2649, allocations: 11.92 kB / 435.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2649, allocations: 4 kB / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2649, allocations: 0 / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2649, allocations: 4.031 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2649, allocations: 0 / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2651, allocations: 160.3 kB / 435.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.2651, allocations: 19.94 kB / 435.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2651, allocations: 0 / 435.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.2652, allocations: 0 / 435.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.2652, allocations: 7.984 kB / 435.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2652, allocations: 0 / 435.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.2653, allocations: 106.4 kB / 435.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2653, allocations: 3.969 kB / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.2655, allocations: 12 kB / 435.9 MB, free: 1.453 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.000444/0.2659, allocations: 0.6936 MB / 436.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2661, allocations: 23.92 kB / 436.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2661, allocations: 0 / 436.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.2661, allocations: 11.98 kB / 436.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2664, allocations: 22.91 kB / 436.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2677, allocations: 1.335 MB / 438 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.2678, allocations: 67.34 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.15e-05/0.2678, allocations: 11.97 kB / 438.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.2679, allocations: 19.56 kB / 438.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2679, allocations: 0 / 438.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2953, allocations: 2.13 MB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11, allocations: 7.516 kB / 440.3 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.44980025102268]