Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 116.4 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 204 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.395/1.395, allocations: 227.6 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 59.91 kB / 359.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2216, allocations: 50.54 MB / 410.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002773/0.2244, allocations: 1.569 MB / 411.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.2253, allocations: 0.526 MB / 412.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.2254, allocations: 11.94 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.2254, allocations: 7.875 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.2255, allocations: 11.91 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2258, allocations: 55.83 kB / 412.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2259, allocations: 47.84 kB / 412.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.226, allocations: 8.188 kB / 412.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2261, allocations: 35.84 kB / 412.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.2262, allocations: 19.86 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2262, allocations: 4 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-05/0.2262, allocations: 4 kB / 412.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.2263, allocations: 19.92 kB / 412.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.2263, allocations: 27.81 kB / 412.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.2264, allocations: 63.53 kB / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2264, allocations: 0 / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2264, allocations: 0 / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2265, allocations: 0 / 412.6 MB, free: 15.07 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.0004866/0.2269, allocations: 383 kB / 413 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.227, allocations: 8.031 kB / 413 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2271, allocations: 16.89 kB / 413 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2274, allocations: 212.1 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-06/0.2274, allocations: 384 / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.2274, allocations: 4.375 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.2277, allocations: 113.2 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2277, allocations: 0 / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.2277, allocations: 0 / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2277, allocations: 0 / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.2278, allocations: 19.98 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.2281, allocations: 265.6 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.2282, allocations: 49.2 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.2282, allocations: 25.7 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2283, allocations: 7.938 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2283, allocations: 30.56 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2283, allocations: 0 / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002476/0.2285, allocations: 73.56 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2286, allocations: 77.11 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2287, allocations: 144.2 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2287, allocations: 25.7 kB / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2288, allocations: 88.12 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.2288, allocations: 7.953 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.2289, allocations: 17.97 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.229, allocations: 322.8 kB / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.229, allocations: 4 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.2291, allocations: 25.7 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.468e-05/0.2292, allocations: 33.7 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2292, allocations: 0 / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.2293, allocations: 61.58 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2293, allocations: 4 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2293, allocations: 0 / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2293, allocations: 0 / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.2294, allocations: 4 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2294, allocations: 7.984 kB / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.2294, allocations: 0 / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2294, allocations: 4.062 kB / 414.6 MB, free: 12.81 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.000101/0.2295, allocations: 129.7 kB / 414.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.2296, allocations: 37.64 kB / 414.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.2296, allocations: 15.83 kB / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2296, allocations: 0 / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2296, allocations: 0 / 414.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2296, allocations: 4 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.2298, allocations: 169.6 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2298, allocations: 0 / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.2299, allocations: 15.95 kB / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2299, allocations: 4 kB / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2299, allocations: 0 / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2299, allocations: 0 / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2299, allocations: 0 / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.2301, allocations: 160.3 kB / 415.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.2301, allocations: 93.09 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2302, allocations: 3.984 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.2302, allocations: 4 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.2303, allocations: 0 / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2303, allocations: 4 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.2303, allocations: 115.2 kB / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2303, allocations: 0 / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.2306, allocations: 4 kB / 415.3 MB, free: 11.95 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 9.647e-05/0.2307, allocations: 107.2 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.2308, allocations: 15.98 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2308, allocations: 0 / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.2309, allocations: 15.98 kB / 415.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2312, allocations: 25.02 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.2315, allocations: 163.7 kB / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.2318, allocations: 0.6885 MB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.2319, allocations: 7.984 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.2319, allocations: 7.438 kB / 416.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2319, allocations: 0 / 416.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of Templates: time 0.002928/0.2348, allocations: 0.5261 MB / 416.9 MB, free: 10.35 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/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-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches