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.00151/0.00151, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002653/0.2802, allocations: 1.55 MB / 411.5 MB, free: 64 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009353/0.2812, allocations: 0.5337 MB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.2813, allocations: 4 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.2814, allocations: 3.938 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.2815, allocations: 11.86 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.2818, allocations: 63.81 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.2819, allocations: 39.86 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.282, allocations: 20.17 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2821, allocations: 35.84 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.2822, allocations: 19.86 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2822, allocations: 4 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.452e-05/0.2823, allocations: 11.94 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.2823, allocations: 15.92 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.2824, allocations: 23.81 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2825, allocations: 63.73 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2825, allocations: 4 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2825, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2825, allocations: 0 / 412.3 MB, free: 15.21 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.000453/0.283, allocations: 372.3 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.283, allocations: 8.031 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2832, allocations: 20.83 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.2834, allocations: 208.1 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2834, allocations: 384 / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2834, allocations: 4.375 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.2837, allocations: 105.2 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2837, allocations: 0 / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2837, allocations: 7.922 kB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2838, allocations: 8 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.2838, allocations: 15.92 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.2842, allocations: 265.7 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.233e-05/0.2842, allocations: 53.14 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.2843, allocations: 21.78 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2843, allocations: 0 / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2844, allocations: 38.55 kB / 413.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2844, allocations: 0 / 413.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002404/0.2846, allocations: 57.62 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.2847, allocations: 89.34 kB / 413.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.2848, allocations: 140.2 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2848, allocations: 25.7 kB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.2849, allocations: 100 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.2849, allocations: 0 / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.2849, allocations: 17.72 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.285, allocations: 314.8 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.2851, allocations: 19.98 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.2851, allocations: 17.66 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.2852, allocations: 29.7 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2852, allocations: 0 / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001236/0.2854, allocations: 65.58 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2854, allocations: 4 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2854, allocations: 4 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2854, allocations: 0 / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.2855, allocations: 4 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2855, allocations: 0 / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.2855, allocations: 11.92 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2855, allocations: 0 / 414.3 MB, free: 12.96 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 8.184e-05/0.2856, allocations: 125.7 kB / 414.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.2857, allocations: 41.67 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.2857, allocations: 23.75 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2857, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2858, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2858, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.2859, allocations: 173.6 kB / 414.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2859, allocations: 3.938 kB / 414.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.286, allocations: 8 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.286, allocations: 3.984 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.286, allocations: 0 / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.286, allocations: 8.031 kB / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.286, allocations: 0 / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.2862, allocations: 152.2 kB / 414.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.2862, allocations: 97 kB / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2863, allocations: 0 / 414.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.2863, allocations: 8.016 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.2864, allocations: 7.938 kB / 414.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2864, allocations: 0 / 414.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.2865, allocations: 109.5 kB / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2865, allocations: 0 / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.2867, allocations: 12 kB / 415.1 MB, free: 12.09 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 8.78e-05/0.2868, allocations: 91.25 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.2869, allocations: 27.98 kB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2869, allocations: 0 / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.287, allocations: 11.92 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2873, allocations: 15.97 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.2876, allocations: 185.3 kB / 415.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.2879, allocations: 0.6926 MB / 416.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.2879, allocations: 7.438 kB / 416.1 MB, free: 11 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2879, allocations: 0 / 416.1 MB, free: 11 MB / 334.1 MB Notification: Performance of Templates: time 0.001981/0.2899, allocations: 0.7596 MB / 416.8 MB, free: 10.24 MB / 334.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