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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008181/0.0008183, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009137/0.0009137, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.7 MB / 247.5 MB, free: 11.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002138, allocations: 4 kB / 308.4 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08664, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001687/0.08837, allocations: 1.27 MB / 361.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.08927, allocations: 0.5183 MB / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.08937, allocations: 0 / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.08941, allocations: 7.938 kB / 361.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.08954, allocations: 15.91 kB / 361.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.08983, allocations: 51.89 kB / 361.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.08993, allocations: 43.8 kB / 361.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.09004, allocations: 16.17 kB / 361.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.09016, allocations: 23.91 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.09022, allocations: 19.86 kB / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.09024, allocations: 3.938 kB / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.09029, allocations: 4 kB / 361.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.09034, allocations: 19.92 kB / 361.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.09039, allocations: 49.52 kB / 362 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.879e-05/0.0905, allocations: 39.92 kB / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09051, allocations: 0 / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09051, allocations: 0 / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09052, allocations: 0 / 362 MB, free: 11.15 MB / 302.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.0004395/0.09097, allocations: 371.4 kB / 362.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.09101, allocations: 8.031 kB / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.09116, allocations: 24.83 kB / 362.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.09134, allocations: 200.1 kB / 362.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.09136, allocations: 384 / 362.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.09139, allocations: 12.38 kB / 362.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.09165, allocations: 109.2 kB / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.09167, allocations: 4 kB / 362.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.09169, allocations: 0 / 362.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.0917, allocations: 0 / 362.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.09178, allocations: 19.98 kB / 362.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.09207, allocations: 269.7 kB / 363 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.796e-05/0.09216, allocations: 45.28 kB / 363 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.09222, allocations: 21.64 kB / 363.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.09224, allocations: 4 kB / 363.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.09227, allocations: 34.56 kB / 363.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.09228, allocations: 0 / 363.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002357/0.09252, allocations: 77.52 kB / 363.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.09258, allocations: 77.11 kB / 363.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.0927, allocations: 148.5 kB / 363.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.09272, allocations: 25.7 kB / 363.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.09277, allocations: 92.08 kB / 363.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.09279, allocations: 7.906 kB / 363.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.09282, allocations: 9.719 kB / 363.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.09291, allocations: 318.8 kB / 363.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.09296, allocations: 12 kB / 363.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.09301, allocations: 25.7 kB / 363.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.101e-05/0.0931, allocations: 41.58 kB / 363.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09311, allocations: 0 / 363.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.09324, allocations: 61.69 kB / 364 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.09326, allocations: 4 kB / 364 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.09327, allocations: 0 / 364 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.09328, allocations: 0 / 364 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.09336, allocations: 11.98 kB / 364 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.09337, allocations: 3.938 kB / 364 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.09341, allocations: 4 kB / 364 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.09342, allocations: 0 / 364 MB, free: 8.883 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 7.93e-05/0.09351, allocations: 125.8 kB / 364.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.09357, allocations: 41.59 kB / 364.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.09361, allocations: 15.83 kB / 364.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.09362, allocations: 0 / 364.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.09362, allocations: 0 / 364.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.09363, allocations: 0 / 364.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.09379, allocations: 173.6 kB / 364.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.0938, allocations: 0 / 364.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.09385, allocations: 11.92 kB / 364.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.09387, allocations: 4.031 kB / 364.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.09388, allocations: 4 kB / 364.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.09388, allocations: 0 / 364.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.09389, allocations: 3.984 kB / 364.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.09406, allocations: 168.2 kB / 364.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.09413, allocations: 93.03 kB / 364.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.09415, allocations: 0 / 364.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.09422, allocations: 8 kB / 364.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.09425, allocations: 0 / 364.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.09426, allocations: 0 / 364.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.549e-05/0.09434, allocations: 117.5 kB / 364.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09435, allocations: 3.938 kB / 364.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.09457, allocations: 4 kB / 364.7 MB, free: 8.02 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 8.448e-05/0.09466, allocations: 99.25 kB / 364.8 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.0948, allocations: 23.98 kB / 364.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.09481, allocations: 0 / 364.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.09486, allocations: 11.98 kB / 364.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.0952, allocations: 27.83 kB / 364.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.09554, allocations: 215.5 kB / 365.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.09577, allocations: 0.6848 MB / 365.8 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.0958, allocations: 11.44 kB / 365.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.09581, allocations: 4 kB / 365.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of Templates: time 0.002027/0.09784, allocations: 0.7294 MB / 366.5 MB, free: 6.152 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches