Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 117.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002416/0.002416, allocations: 204.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.181/2.181, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4871, allocations: 50.54 MB / 409.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.005999/0.4932, allocations: 1.589 MB / 411.5 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.4952, allocations: 0.5337 MB / 412.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.4954, allocations: 4 kB / 412.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.345e-05/0.4955, allocations: 3.938 kB / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.4958, allocations: 11.86 kB / 412.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.4965, allocations: 59.81 kB / 412.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.4967, allocations: 47.8 kB / 412.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.4969, allocations: 24.16 kB / 412.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.4971, allocations: 27.92 kB / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.675e-05/0.4972, allocations: 15.88 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.4973, allocations: 4 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.4974, allocations: 11.98 kB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.4975, allocations: 15.92 kB / 412.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.4975, allocations: 27.8 kB / 412.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4978, allocations: 67.69 kB / 412.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.4978, allocations: 3.984 kB / 412.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4979, allocations: 0 / 412.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4979, allocations: 0 / 412.4 MB, free: 15.28 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.0008357/0.4987, allocations: 376.4 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.4988, allocations: 8.031 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.4991, allocations: 24.73 kB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.4997, allocations: 204.2 kB / 413 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.4997, allocations: 8.375 kB / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.4998, allocations: 7.938 kB / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.5003, allocations: 117.9 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5003, allocations: 4 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5003, allocations: 3.984 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.5004, allocations: 0 / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.5005, allocations: 27.92 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.5011, allocations: 274.5 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.5013, allocations: 71.84 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.5015, allocations: 30.58 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.5015, allocations: 7.984 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.5016, allocations: 38.56 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.5016, allocations: 0 / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003903/0.502, allocations: 81.52 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5021, allocations: 106.8 kB / 413.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.5024, allocations: 154.1 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.5024, allocations: 29.7 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.5025, allocations: 88.14 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.5026, allocations: 3.906 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.5027, allocations: 21.7 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.5028, allocations: 318.8 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.503, allocations: 11.92 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.5031, allocations: 39.42 kB / 414.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.5033, allocations: 47.36 kB / 414.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5033, allocations: 3.938 kB / 414.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003089/0.5037, allocations: 73.53 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.5037, allocations: 4 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5037, allocations: 0 / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.5038, allocations: 7.938 kB / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.5039, allocations: 7.984 kB / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.504, allocations: 4 kB / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.162e-05/0.5041, allocations: 7.875 kB / 414.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.5041, allocations: 4 kB / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001534/0.5043, allocations: 125.9 kB / 414.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.5044, allocations: 53.55 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.5045, allocations: 15.86 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5045, allocations: 0 / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5046, allocations: 0 / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.5046, allocations: 7.938 kB / 414.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.5049, allocations: 165.8 kB / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5049, allocations: 0 / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5051, allocations: 15.97 kB / 414.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.5051, allocations: 4 kB / 414.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.5051, allocations: 8.062 kB / 414.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5052, allocations: 0 / 414.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5052, allocations: 0 / 414.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.5055, allocations: 185 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5057, allocations: 89 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.5057, allocations: 8 kB / 415.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.5059, allocations: 7.984 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.5059, allocations: 3.938 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.506, allocations: 4 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.5061, allocations: 110.6 kB / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5061, allocations: 0 / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.5066, allocations: 8 kB / 415.3 MB, free: 11.9 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001488/0.5068, allocations: 102.9 kB / 415.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.5071, allocations: 35.92 kB / 415.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5071, allocations: 0 / 415.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.5072, allocations: 11.92 kB / 415.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.5079, allocations: 27.95 kB / 415.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.5086, allocations: 210.6 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.509, allocations: 0.6924 MB / 416.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.5091, allocations: 15.42 kB / 416.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of SimCode: time 3.597e-06/0.5091, allocations: 0 / 416.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Templates: time 0.004594/0.5137, allocations: 0.8557 MB / 417.3 MB, free: 9.887 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches