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.001497/0.001497, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 64.03 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3833, allocations: 50.54 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002837/0.3862, allocations: 1.596 MB / 410.8 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.3872, allocations: 0.5571 MB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.3873, allocations: 4 kB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.3874, allocations: 7.938 kB / 411.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.3875, allocations: 11.86 kB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.3879, allocations: 75.23 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.388, allocations: 39.86 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3881, allocations: 20.16 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3883, allocations: 31.86 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.3883, allocations: 23.86 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3884, allocations: 4 kB / 411.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.249e-05/0.3884, allocations: 8 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.3885, allocations: 15.92 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3885, allocations: 27.8 kB / 411.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3887, allocations: 59.73 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3887, allocations: 0 / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3887, allocations: 0 / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3887, allocations: 0 / 411.7 MB, free: 15.13 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.0005544/0.3893, allocations: 384.2 kB / 412.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3893, allocations: 12.03 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.3895, allocations: 24.73 kB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3898, allocations: 208 kB / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.3898, allocations: 384 / 412.3 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.3898, allocations: 7.938 kB / 412.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.3901, allocations: 117.9 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3902, allocations: 3.984 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3902, allocations: 4 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3902, allocations: 4 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.3903, allocations: 23.92 kB / 412.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.3906, allocations: 278.5 kB / 412.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3907, allocations: 67.78 kB / 412.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.3908, allocations: 38.62 kB / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3908, allocations: 7.938 kB / 412.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3909, allocations: 34.56 kB / 412.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3909, allocations: 0 / 412.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002669/0.3911, allocations: 77.83 kB / 413 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.3912, allocations: 114.8 kB / 413.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3914, allocations: 153.7 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3914, allocations: 25.7 kB / 413.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.3914, allocations: 84.14 kB / 413.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3915, allocations: 15.89 kB / 413.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3915, allocations: 13.72 kB / 413.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3916, allocations: 318.8 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.3917, allocations: 15.98 kB / 413.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.3917, allocations: 31.42 kB / 413.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.866e-05/0.3918, allocations: 47.36 kB / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3918, allocations: 3.938 kB / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.3919, allocations: 73.52 kB / 413.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.392, allocations: 6.969 kB / 413.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.392, allocations: 4 kB / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.392, allocations: 0 / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.3921, allocations: 11.94 kB / 413.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3921, allocations: 4.125 kB / 413.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.3921, allocations: 15.86 kB / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3922, allocations: 0 / 413.9 MB, free: 12.65 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 8.675e-05/0.3923, allocations: 121.8 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.3923, allocations: 53.53 kB / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.3924, allocations: 11.88 kB / 414.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3924, allocations: 0 / 414.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3924, allocations: 4 kB / 414.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3924, allocations: 8 kB / 414.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3926, allocations: 173.6 kB / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3926, allocations: 0 / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.3927, allocations: 8 kB / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3927, allocations: 0 / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3927, allocations: 4 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3927, allocations: 4 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3927, allocations: 3.984 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.3929, allocations: 181 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.393, allocations: 93 kB / 414.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.393, allocations: 4 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.3931, allocations: 3.938 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.3931, allocations: 11.94 kB / 414.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3931, allocations: 0 / 414.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.3932, allocations: 116.4 kB / 414.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3932, allocations: 4 kB / 414.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3935, allocations: 4 kB / 414.7 MB, free: 11.75 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 9.893e-05/0.3936, allocations: 95.25 kB / 414.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3937, allocations: 35.91 kB / 414.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3937, allocations: 0 / 414.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.3938, allocations: 8.25 kB / 414.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3942, allocations: 32.02 kB / 414.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.3945, allocations: 188.3 kB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3948, allocations: 0.6964 MB / 415.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.252e-05/0.3948, allocations: 8.172 kB / 415.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.3949, allocations: 11.44 kB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3949, allocations: 0 / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of Templates: time 0.003338/0.3982, allocations: 0.5944 MB / 416.4 MB, free: 10.02 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/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