Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 108.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 207.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.319/2.319, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4941, allocations: 50.53 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.004787/0.499, allocations: 1.585 MB / 411.5 MB, free: 32 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.5011, allocations: 0.5648 MB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.5013, allocations: 4 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.386e-05/0.5015, allocations: 3.938 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.5017, allocations: 7.875 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.5024, allocations: 67.81 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.5026, allocations: 51.77 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.5028, allocations: 20.19 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.503, allocations: 27.86 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.5032, allocations: 23.84 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.5032, allocations: 4 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.5033, allocations: 4 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.5034, allocations: 15.92 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.5035, allocations: 27.81 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.5038, allocations: 59.73 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.5038, allocations: 0 / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.5038, allocations: 0 / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.5038, allocations: 4 kB / 412.4 MB, free: 15.14 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.0008484/0.5047, allocations: 384.3 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.5048, allocations: 8.031 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.5051, allocations: 28.67 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.5056, allocations: 203.8 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.5056, allocations: 4.375 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5056, allocations: 7.938 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.5061, allocations: 121.9 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5061, allocations: 0 / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.5061, allocations: 0 / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.5061, allocations: 7.938 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.5063, allocations: 27.92 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.5069, allocations: 270.6 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.5071, allocations: 71.8 kB / 413.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.5072, allocations: 34.62 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.5073, allocations: 3.984 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5073, allocations: 34.5 kB / 413.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.5073, allocations: 0 / 413.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004895/0.5078, allocations: 89.5 kB / 413.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.508, allocations: 110.8 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5082, allocations: 145.7 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.5082, allocations: 33.62 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.5083, allocations: 88.14 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.5084, allocations: 8.281 kB / 414 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.5085, allocations: 21.72 kB / 414.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5086, allocations: 314.8 kB / 414.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.5087, allocations: 8 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.5088, allocations: 31.42 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.509, allocations: 55.36 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.509, allocations: 3.938 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000267/0.5093, allocations: 69.52 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.5094, allocations: 4 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5094, allocations: 4.125 kB / 414.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.5094, allocations: 4 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.5096, allocations: 11.98 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.5096, allocations: 3.938 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.5097, allocations: 11.88 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5097, allocations: 0 / 414.6 MB, free: 12.67 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.0001705/0.5099, allocations: 125.8 kB / 414.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5101, allocations: 49.61 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.5102, allocations: 19.86 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5102, allocations: 0 / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5102, allocations: 4 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5102, allocations: 3.938 kB / 414.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.5106, allocations: 169.7 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5106, allocations: 4 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5107, allocations: 15.98 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5107, allocations: 0 / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.5107, allocations: 0 / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5107, allocations: 0 / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.5108, allocations: 4 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.5111, allocations: 181 kB / 415.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.5112, allocations: 96.94 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.5113, allocations: 4 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.5114, allocations: 0 / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.5115, allocations: 11.92 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5115, allocations: 4 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.5117, allocations: 116.4 kB / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5117, allocations: 0 / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.5122, allocations: 4 kB / 415.4 MB, free: 11.76 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.0001882/0.5124, allocations: 95.25 kB / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.5127, allocations: 32.11 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5127, allocations: 4.062 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.5128, allocations: 11.98 kB / 415.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.5135, allocations: 27.95 kB / 415.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.5141, allocations: 214 kB / 415.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.5147, allocations: 0.6989 MB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.5147, allocations: 7.438 kB / 416.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5148, allocations: 0 / 416.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of Templates: time 0.004287/0.5191, allocations: 0.8534 MB / 417.3 MB, free: 9.754 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches