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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 105.1 kB / 16.92 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002568/0.002568, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.821/1.821, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 46.05 kB / 300.7 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.19, allocations: 49.44 MB / 350.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003947/0.194, allocations: 1.539 MB / 351.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1951, allocations: 474.7 kB / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1953, allocations: 0 / 352.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.1954, allocations: 7.922 kB / 352.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.1956, allocations: 11.88 kB / 352.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1961, allocations: 45.64 kB / 352.2 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1963, allocations: 43.8 kB / 352.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1965, allocations: 23.97 kB / 352.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.1966, allocations: 19.88 kB / 352.3 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.1967, allocations: 19.86 kB / 352.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1967, allocations: 4 kB / 352.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.1967, allocations: 4 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.1968, allocations: 11.98 kB / 352.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.1969, allocations: 31.73 kB / 352.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1971, allocations: 51.81 kB / 352.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.1971, allocations: 4 kB / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1971, allocations: 0 / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1971, allocations: 0 / 352.4 MB, free: 2.059 MB / 286.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.0007714/0.1979, allocations: 375.3 kB / 352.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/0.198, allocations: 16.02 kB / 352.8 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/0.1981, allocations: 34.69 kB / 352.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.1981, allocations: 8.844 kB / 352.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1985, allocations: 199.1 kB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1985, allocations: 4.375 kB / 353.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1985, allocations: 8.312 kB / 353.1 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.199, allocations: 109.2 kB / 353.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.199, allocations: 0 / 353.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.199, allocations: 0 / 353.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.199, allocations: 3.984 kB / 353.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.1991, allocations: 20 kB / 353.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.1996, allocations: 261.7 kB / 353.5 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1997, allocations: 53.14 kB / 353.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.1998, allocations: 25.78 kB / 353.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1999, allocations: 0 / 353.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.271e-05/0.1999, allocations: 38.48 kB / 353.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2, allocations: 0 / 353.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003508/0.2003, allocations: 61.59 kB / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2004, allocations: 89.28 kB / 353.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2006, allocations: 138.2 kB / 353.9 MB, free: 424 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2007, allocations: 25.7 kB / 353.9 MB, free: 392 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.2008, allocations: 92.08 kB / 354 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.2008, allocations: 0 / 354 MB, free: 296 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.2008, allocations: 21.7 kB / 354 MB, free: 268 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002602/0.2011, allocations: 314.8 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.2012, allocations: 11.98 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.2012, allocations: 21.72 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.2014, allocations: 29.7 kB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2014, allocations: 3.938 kB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001377/0.2015, allocations: 57.7 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2015, allocations: 8 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2016, allocations: 0 / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2016, allocations: 4 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.2017, allocations: 4 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2017, allocations: 0 / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.2017, allocations: 4 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2018, allocations: 3.938 kB / 354.4 MB, free: 15.78 MB / 302.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.0001288/0.2019, allocations: 121.8 kB / 354.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.202, allocations: 49.53 kB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.202, allocations: 11.86 kB / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.202, allocations: 4 kB / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.2021, allocations: 0 / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2021, allocations: 0 / 354.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.2023, allocations: 169.5 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2023, allocations: 4 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.2024, allocations: 4 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2024, allocations: 0 / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2024, allocations: 0 / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2024, allocations: 0 / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.2024, allocations: 12.02 kB / 354.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.2027, allocations: 160.2 kB / 355 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.2028, allocations: 93 kB / 355.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2028, allocations: 4 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.2029, allocations: 0 / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.2029, allocations: 8.016 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2029, allocations: 4 kB / 355.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2031, allocations: 106.2 kB / 355.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2031, allocations: 0 / 355.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.2033, allocations: 4 kB / 355.2 MB, free: 14.94 MB / 302.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.0006902/0.204, allocations: 0.7015 MB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.2042, allocations: 19.98 kB / 355.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2042, allocations: 0 / 355.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.2043, allocations: 15.92 kB / 355.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.2048, allocations: 20.02 kB / 355.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2064, allocations: 1.315 MB / 357.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.207, allocations: 0.6924 MB / 357.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.556e-05/0.2071, allocations: 4 kB / 358 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.2072, allocations: 15.38 kB / 358 MB, free: 12.01 MB / 302.1 MB Notification: Performance of SimCode: time 7.223e-06/0.2072, allocations: 0 / 358 MB, free: 12.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2338, allocations: 1.514 MB / 359.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 13.06 kB / 359.5 MB, free: 10.58 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/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) Reference file matches