Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001202, allocations: 109.7 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001122, allocations: 212.9 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.331/2.331, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.527, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.005488/0.5326, allocations: 1.616 MB / 411.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.5348, allocations: 0.6271 MB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.535, allocations: 0 / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.767e-05/0.5351, allocations: 7.875 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.5356, allocations: 35.78 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.5362, allocations: 79.78 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.5364, allocations: 75.77 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.5366, allocations: 23.97 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.5368, allocations: 35.86 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.537, allocations: 39.77 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.537, allocations: 4 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.5371, allocations: 12 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.5372, allocations: 19.92 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.5373, allocations: 43.72 kB / 412.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.5377, allocations: 83.7 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5377, allocations: 0 / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5377, allocations: 0 / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5377, allocations: 0 / 412.6 MB, free: 14.91 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009911/0.5387, allocations: 416.1 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5388, allocations: 8.031 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.539, allocations: 24.83 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.5395, allocations: 216.1 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.5396, allocations: 8.312 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.5396, allocations: 16.12 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/0.5405, allocations: 216.5 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5405, allocations: 4 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5405, allocations: 4 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5405, allocations: 0 / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.5409, allocations: 51.89 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.5414, allocations: 294.5 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.5418, allocations: 95.83 kB / 414 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.542, allocations: 58.69 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.5421, allocations: 0 / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.5422, allocations: 38.55 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/0.5422, allocations: 7.938 kB / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007777/0.543, allocations: 145.4 kB / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.5431, allocations: 114.8 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.5433, allocations: 145.8 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.5434, allocations: 29.7 kB / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.5435, allocations: 96.27 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5435, allocations: 11.89 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/0.5436, allocations: 33.61 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5438, allocations: 322.8 kB / 414.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.544, allocations: 19.98 kB / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.5442, allocations: 89.42 kB / 415 MB, free: 12.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.5445, allocations: 113.2 kB / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5445, allocations: 4 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004281/0.545, allocations: 133.4 kB / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.545, allocations: 4 kB / 415.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.545, allocations: 4 kB / 415.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.5451, allocations: 7.984 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.5453, allocations: 23.92 kB / 415.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.5453, allocations: 4.344 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.5455, allocations: 20.38 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.5455, allocations: 11.98 kB / 415.4 MB, free: 11.83 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001734/0.5457, allocations: 129.7 kB / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.5461, allocations: 101.5 kB / 415.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.5462, allocations: 16.3 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5463, allocations: 4 kB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5463, allocations: 0 / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5463, allocations: 3.938 kB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.5467, allocations: 193.5 kB / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5467, allocations: 4 kB / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.5469, allocations: 19.98 kB / 415.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.547, allocations: 3.938 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.547, allocations: 4 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.547, allocations: 0 / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.547, allocations: 0 / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.5476, allocations: 233 kB / 416.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.5478, allocations: 100.9 kB / 416.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.5478, allocations: 0 / 416.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.548, allocations: 11.98 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.5481, allocations: 4 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.5481, allocations: 3.938 kB / 416.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.5483, allocations: 114.6 kB / 416.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5483, allocations: 0 / 416.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005724/0.5489, allocations: 16 kB / 416.3 MB, free: 10.78 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000206/0.5491, allocations: 111.1 kB / 416.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.5496, allocations: 79.83 kB / 416.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5496, allocations: 0 / 416.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.5497, allocations: 8 kB / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.5506, allocations: 66.92 kB / 416.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.5518, allocations: 283.4 kB / 416.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.5523, allocations: 0.7041 MB / 417.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.5524, allocations: 15.42 kB / 417.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5524, allocations: 4 kB / 417.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of Templates: time 0.004668/0.5571, allocations: 1.22 MB / 418.8 MB, free: 8.23 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches