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.001887/0.001886, allocations: 117.7 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.002444/0.002444, allocations: 204.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.478/1.478, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 50.53 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003092/0.317, allocations: 1.616 MB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3182, allocations: 0.6271 MB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.3184, allocations: 4 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.3185, allocations: 7.875 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.3187, allocations: 31.78 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.3191, allocations: 79.78 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3193, allocations: 71.77 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3194, allocations: 23.98 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3196, allocations: 35.84 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.3197, allocations: 39.78 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3197, allocations: 4 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.3197, allocations: 12 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.3198, allocations: 15.92 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.3199, allocations: 43.72 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.32, allocations: 87.7 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3201, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3201, allocations: 0 / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3201, allocations: 0 / 412.6 MB, free: 14.9 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.0006327/0.3207, allocations: 416.1 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3208, allocations: 8.031 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.3209, allocations: 24.81 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.3213, allocations: 215.6 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3213, allocations: 4.375 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3213, allocations: 16.12 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.3218, allocations: 224.1 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3219, allocations: 4 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3219, allocations: 0 / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3219, allocations: 0 / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.3221, allocations: 55.83 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.3224, allocations: 286.6 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3227, allocations: 103.8 kB / 414 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3228, allocations: 50.75 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.3228, allocations: 11.92 kB / 414 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3229, allocations: 34.56 kB / 414 MB, free: 13.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.045e-06/0.3229, allocations: 0 / 414 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004719/0.3234, allocations: 153.8 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.3235, allocations: 114.8 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3236, allocations: 145.8 kB / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3237, allocations: 29.7 kB / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.3237, allocations: 96.25 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3238, allocations: 11.91 kB / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.3238, allocations: 33.61 kB / 414.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.324, allocations: 322.8 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.3241, allocations: 19.98 kB / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3242, allocations: 93.48 kB / 415 MB, free: 12.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3244, allocations: 109.3 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3244, allocations: 7.938 kB / 415.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002294/0.3246, allocations: 133.4 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3246, allocations: 4 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3247, allocations: 4 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.3247, allocations: 4 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3248, allocations: 23.92 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3248, allocations: 4.344 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.3249, allocations: 23.86 kB / 415.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3249, allocations: 8 kB / 415.4 MB, free: 11.82 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.00013/0.3251, allocations: 129.7 kB / 415.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.3253, allocations: 93.52 kB / 415.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.3254, allocations: 20.3 kB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3254, allocations: 4 kB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3254, allocations: 0 / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.3254, allocations: 7.922 kB / 415.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.3256, allocations: 189.5 kB / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3256, allocations: 7.938 kB / 415.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3258, allocations: 19.98 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3258, allocations: 0 / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3258, allocations: 4 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3258, allocations: 0 / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3258, allocations: 0 / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.3261, allocations: 236.9 kB / 416.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.3262, allocations: 100.9 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.3263, allocations: 4.062 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.3264, allocations: 15.98 kB / 416.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.3264, allocations: 0 / 416.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3264, allocations: 7.938 kB / 416.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.3265, allocations: 112.4 kB / 416.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3265, allocations: 0 / 416.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3268, allocations: 16 kB / 416.3 MB, free: 10.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: 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.0001465/0.327, allocations: 103.2 kB / 416.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.3272, allocations: 83.77 kB / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3273, allocations: 0 / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.3273, allocations: 16.61 kB / 416.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3278, allocations: 59.58 kB / 416.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.3285, allocations: 286.9 kB / 416.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3288, allocations: 0.7002 MB / 417.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.3289, allocations: 19.42 kB / 417.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3289, allocations: 0 / 417.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of Templates: time 0.003/0.3319, allocations: 1.212 MB / 418.8 MB, free: 8.227 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