Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009301/0.0009301, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008412/0.0008412, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8857/0.8857, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.522e-05, allocations: 2.844 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002612/0.002627, allocations: 1.568 MB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.003337, allocations: 0.5103 MB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.003415, allocations: 3.938 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.937e-05/0.003464, allocations: 3.938 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.003596, allocations: 15.86 kB / 326.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.003851, allocations: 59.06 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.003947, allocations: 55.7 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.004037, allocations: 8.188 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.004146, allocations: 39.89 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.004189, allocations: 11.98 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004204, allocations: 4 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.362e-05/0.004238, allocations: 4 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.004278, allocations: 15.92 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.0043, allocations: 19.92 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.004429, allocations: 59.73 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004431, allocations: 4 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004431, allocations: 0 / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004436, allocations: 0 / 326.9 MB, free: 13.51 MB / 298.7 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.0003448/0.004781, allocations: 309.9 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.004822, allocations: 11.98 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.004859, allocations: 34.75 kB / 327.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.971e-05/0.004959, allocations: 16.88 kB / 327.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.005135, allocations: 141.6 kB / 327.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.005144, allocations: 4.375 kB / 327.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.005155, allocations: 8.359 kB / 327.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.00537, allocations: 105.6 kB / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005378, allocations: 192 / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-06/0.005387, allocations: 3.938 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005391, allocations: 0 / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.005436, allocations: 23.92 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.005688, allocations: 232.9 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.005745, allocations: 45.09 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.005774, allocations: 21.77 kB / 327.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.005793, allocations: 4 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.005814, allocations: 30.56 kB / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.005815, allocations: 0 / 327.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000169/0.005984, allocations: 77.72 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.006023, allocations: 81.14 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.622e-05/0.006109, allocations: 144.7 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.006118, allocations: 25.7 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.006155, allocations: 88.12 kB / 328.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.006166, allocations: 7.953 kB / 328.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.006189, allocations: 13.72 kB / 328.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.006261, allocations: 318.8 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.006283, allocations: 12 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.006304, allocations: 7.938 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.00634, allocations: 20.91 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006342, allocations: 3.938 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.684e-05/0.006399, allocations: 61.56 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.006409, allocations: 4 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006413, allocations: 0 / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.006423, allocations: 0 / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.006465, allocations: 4 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.006469, allocations: 0 / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.006485, allocations: 8.031 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.006491, allocations: 3.984 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.176e-05/0.006543, allocations: 117.8 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.006574, allocations: 45.53 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.006597, allocations: 19.75 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.006599, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.006602, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006605, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.006703, allocations: 144.6 kB / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006704, allocations: 0 / 329 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.006722, allocations: 12.02 kB / 329 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006723, allocations: 0 / 329 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.006728, allocations: 0 / 329 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.00673, allocations: 4 kB / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.00673, allocations: 0 / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.257e-05/0.006823, allocations: 164.2 kB / 329.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.006846, allocations: 11.95 kB / 329.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.006856, allocations: 0 / 329.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.006888, allocations: 7.984 kB / 329.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.006908, allocations: 4.031 kB / 329.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.006911, allocations: 4 kB / 329.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.491e-05/0.006956, allocations: 107.2 kB / 329.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006956, allocations: 0 / 329.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.007092, allocations: 4 kB / 329.3 MB, free: 10.74 MB / 298.7 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.0002755/0.007367, allocations: 0.7001 MB / 330 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.00745, allocations: 19.98 kB / 330.1 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007451, allocations: 4.094 kB / 330.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.00747, allocations: 4 kB / 330.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.007711, allocations: 28 kB / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008352/0.008546, allocations: 1.301 MB / 331.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.1e-05/0.008607, allocations: 75.28 kB / 331.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.759e-05/0.008634, allocations: 7.984 kB / 331.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.008672, allocations: 12.5 kB / 331.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.008673, allocations: 0 / 331.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.02353, allocations: 2.238 MB / 333.7 MB, free: 6.312 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.54/6.563, allocations: 7.203 kB / 333.7 MB, free: 6.309 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.293821603059769]