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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002116/0.002116, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.0016/0.0016, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002832/0.2453, allocations: 1.568 MB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.2463, allocations: 0.5025 MB / 433.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.2464, allocations: 7.938 kB / 433.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.2464, allocations: 7.922 kB / 433.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2466, allocations: 15.86 kB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2469, allocations: 47.88 kB / 433.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.247, allocations: 51.8 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.2471, allocations: 8.172 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2472, allocations: 43.84 kB / 433.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.2472, allocations: 15.86 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.2472, allocations: 4 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.971e-05/0.2473, allocations: 12 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.2473, allocations: 11.94 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.2474, allocations: 15.86 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.2475, allocations: 65.36 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2475, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2475, allocations: 0 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2475, 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.0004331/0.2479, allocations: 301.9 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.248, allocations: 16.03 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.248, allocations: 42.62 kB / 433.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2482, allocations: 16.88 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2484, allocations: 148.4 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.2484, allocations: 384 / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2484, allocations: 4.375 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2487, allocations: 113 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2487, allocations: 0 / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.2487, allocations: 0 / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2487, allocations: 4 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.2488, allocations: 15.92 kB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2491, allocations: 228.8 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.2492, allocations: 49.14 kB / 434.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.2492, allocations: 17.78 kB / 434.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.2492, allocations: 4 kB / 434.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2493, allocations: 34.56 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2493, allocations: 0 / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.2495, allocations: 69.56 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.2496, allocations: 77.11 kB / 434.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2497, allocations: 145.8 kB / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2497, allocations: 25.7 kB / 434.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.2498, allocations: 92.33 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.2498, allocations: 7.953 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.2498, allocations: 17.7 kB / 434.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.25, allocations: 318.8 kB / 435.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.25, allocations: 8 kB / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-05/0.2501, allocations: 25.64 kB / 435.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.2502, allocations: 29.7 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2502, allocations: 0 / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001226/0.2503, allocations: 61.64 kB / 435.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2503, allocations: 8 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2503, allocations: 3.938 kB / 435.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2503, allocations: 3.984 kB / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.2504, allocations: 4 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2504, allocations: 0 / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.2504, allocations: 4 kB / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2504, allocations: 0 / 435.3 MB, free: 2.176 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.897e-05/0.2505, allocations: 121.8 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.2506, allocations: 41.66 kB / 435.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.2506, allocations: 19.75 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2506, allocations: 3.938 kB / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2506, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2506, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2508, allocations: 140.7 kB / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2508, allocations: 0 / 435.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.2508, allocations: 7.984 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2508, allocations: 3.984 kB / 435.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2509, allocations: 8 kB / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2509, allocations: 4.031 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2509, allocations: 0 / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.251, allocations: 160.3 kB / 435.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.2511, allocations: 15.94 kB / 435.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2511, allocations: 4 kB / 435.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.2512, allocations: 3.984 kB / 435.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.2512, allocations: 7.938 kB / 435.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2512, allocations: 0 / 435.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.166e-05/0.2513, allocations: 110.5 kB / 435.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2513, allocations: 4.031 kB / 435.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.2515, allocations: 8 kB / 436 MB, free: 1.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.0004945/0.252, allocations: 0.6898 MB / 436.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.2521, 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.543e-06/0.2521, allocations: 3.938 kB / 436.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.2522, allocations: 8.156 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.0003177/0.2525, allocations: 18.58 kB / 436.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2538, 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.278e-05/0.2539, allocations: 75.27 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.749e-05/0.2539, allocations: 128 / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.2539, allocations: 23.44 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2539, allocations: 0 / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.2812, allocations: 2.107 MB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.22, allocations: 8.062 kB / 440.2 MB, free: 13.16 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.76950625795871]