Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002185/0.002185, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.759/1.759, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8563/0.8587, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.007419/0.8663, allocations: 1.562 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.8686, allocations: 0.5569 MB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.8688, allocations: 3.938 kB / 412 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.8691, allocations: 7.938 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.8694, allocations: 11.94 kB / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.8702, allocations: 63.25 kB / 412.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.8705, allocations: 47.78 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.8707, allocations: 20.16 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.8709, allocations: 27.92 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.871, allocations: 23.86 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.8711, allocations: 4 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.582e-05/0.8712, allocations: 4 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.8713, allocations: 19.91 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.8713, allocations: 27.81 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.8716, allocations: 63.67 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.8716, allocations: 0 / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.8717, allocations: 0 / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.8717, allocations: 0 / 412.3 MB, free: 15.12 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.001125/0.8728, allocations: 384.3 kB / 412.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/0.8729, allocations: 12.03 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.8732, allocations: 16.84 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006941/0.8739, allocations: 198.3 kB / 412.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.8739, allocations: 4.375 kB / 412.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.8739, allocations: 4.375 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.8746, allocations: 109.2 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.8747, allocations: 0 / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.8747, allocations: 3.938 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.8747, allocations: 3.938 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.8749, allocations: 23.92 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.8757, allocations: 269.7 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.8759, allocations: 49.14 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.876, allocations: 17.77 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.876, allocations: 0 / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.906e-05/0.8761, allocations: 42.56 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.8761, allocations: 0 / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006558/0.8768, allocations: 61.61 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/0.877, allocations: 85.05 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.8774, allocations: 133.8 kB / 413.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.8774, allocations: 25.7 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.8775, allocations: 104.3 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.8776, allocations: 0 / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.8777, allocations: 13.72 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003064/0.878, allocations: 322.8 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.8781, allocations: 4 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.429e-05/0.8782, allocations: 25.7 kB / 414.2 MB, free: 13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.8783, allocations: 29.77 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8783, allocations: 0 / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.8785, allocations: 57.53 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.8786, allocations: 4 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8786, allocations: 0 / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/0.8787, allocations: 4 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.8788, allocations: 4 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.8788, allocations: 8.047 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.8789, allocations: 4 kB / 414.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.8789, allocations: 4 kB / 414.3 MB, free: 12.87 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.0002046/0.8791, allocations: 121.7 kB / 414.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.8793, allocations: 49.53 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.8794, allocations: 7.828 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8794, allocations: 4 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.8794, allocations: 4 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.8794, allocations: 4.031 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.8798, allocations: 169.6 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8798, allocations: 4 kB / 414.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.8799, allocations: 11.92 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.8799, allocations: 0 / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.8799, allocations: 0 / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8799, allocations: 0 / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.88, allocations: 4 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.8803, allocations: 168.2 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.8805, allocations: 89.02 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.8805, allocations: 11.92 kB / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.8807, allocations: 0 / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.8808, allocations: 0 / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.8808, allocations: 7.984 kB / 415 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.881, allocations: 110 kB / 415.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.881, allocations: 32 / 415.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.8814, allocations: 8 kB / 415.1 MB, free: 12 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 0.0001978/0.8816, allocations: 95.25 kB / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.8819, allocations: 27.92 kB / 415.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.8819, allocations: 0 / 415.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.8819, allocations: 11.98 kB / 415.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.8826, allocations: 12.25 kB / 415.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.8833, allocations: 201.2 kB / 415.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009538/0.8843, allocations: 0.6846 MB / 416.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.8843, allocations: 11.42 kB / 416.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.8843, allocations: 0 / 416.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Templates: time 0.00494/0.8893, allocations: 0.7567 MB / 416.9 MB, free: 10.14 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches