Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 196 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.5 MB / 244.3 MB, free: 6.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007952/0.0007953, allocations: 93.17 kB / 296.4 MB, free: 6.773 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002318/0.0002319, allocations: 4 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2293, allocations: 51.3 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001681/0.231, allocations: 1.308 MB / 408.8 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.232, allocations: 0.577 MB / 409.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.2321, allocations: 4.625 kB / 409.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.2321, allocations: 7.922 kB / 409.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2324, allocations: 25.06 kB / 409.4 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2327, allocations: 64.86 kB / 409.5 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2328, allocations: 60.88 kB / 409.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.2329, allocations: 24.94 kB / 409.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2331, allocations: 31.8 kB / 409.6 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.2332, allocations: 37.73 kB / 409.6 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.2332, allocations: 0 / 409.6 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.2332, allocations: 12 kB / 409.6 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.2333, allocations: 15.92 kB / 409.7 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2333, allocations: 37.64 kB / 409.7 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2334, allocations: 52.98 kB / 409.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2335, allocations: 0 / 409.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2335, allocations: 0 / 409.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2335, allocations: 1.219 kB / 409.8 MB, free: 25.52 MB / 298.7 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.0005054/0.234, allocations: 392.5 kB / 410.1 MB, free: 25.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.234, allocations: 8.688 kB / 410.1 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.2342, allocations: 28.58 kB / 410.2 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2344, allocations: 198.9 kB / 410.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.2345, allocations: 11.95 kB / 410.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2345, allocations: 4 kB / 410.4 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.235, allocations: 228.8 kB / 410.6 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.235, allocations: 2.094 kB / 410.6 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2351, allocations: 0 / 410.6 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2351, allocations: 4 kB / 410.6 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.2353, allocations: 55.91 kB / 410.7 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.2357, allocations: 294.4 kB / 411 MB, free: 24.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.2359, allocations: 99.83 kB / 411.1 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.236, allocations: 62.67 kB / 411.1 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2361, allocations: 3.938 kB / 411.1 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2361, allocations: 38.56 kB / 411.2 MB, free: 23.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.2361, allocations: 0 / 411.2 MB, free: 23.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004686/0.2366, allocations: 153.5 kB / 411.3 MB, free: 23.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.2366, allocations: 118.8 kB / 411.4 MB, free: 23.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2367, allocations: 137.8 kB / 411.6 MB, free: 23.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2368, allocations: 29.7 kB / 411.6 MB, free: 23.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.2368, allocations: 88.27 kB / 411.7 MB, free: 23.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.2368, allocations: 15.89 kB / 411.7 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.2369, allocations: 4 kB / 411.7 MB, free: 23.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.2369, allocations: 318.8 kB / 412 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.237, allocations: 23.98 kB / 412 MB, free: 22.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.2371, allocations: 99.55 kB / 412.1 MB, free: 22.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.2372, allocations: 39.94 kB / 412.2 MB, free: 22.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2372, allocations: 0 / 412.2 MB, free: 22.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002702/0.2375, allocations: 137.6 kB / 412.3 MB, free: 22.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2375, allocations: 6.812 kB / 412.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2375, allocations: 4 kB / 412.3 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2376, allocations: 7.938 kB / 412.3 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2377, allocations: 23.98 kB / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2377, allocations: 11.92 kB / 412.3 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.2378, allocations: 15.84 kB / 412.4 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2378, allocations: 8 kB / 412.4 MB, free: 22.61 MB / 298.7 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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.2379, allocations: 133.8 kB / 412.5 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.2382, allocations: 97.5 kB / 412.6 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.2382, allocations: 16.31 kB / 412.6 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2383, allocations: 4 kB / 412.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2383, allocations: 0 / 412.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2383, allocations: 3.938 kB / 412.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.2385, allocations: 189.5 kB / 412.8 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2385, allocations: 4 kB / 412.8 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2386, allocations: 19.98 kB / 412.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2386, allocations: 0 / 412.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2387, allocations: 8.625 kB / 412.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2387, allocations: 3.938 kB / 412.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2387, allocations: 3.984 kB / 412.8 MB, free: 22.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.239, allocations: 229.1 kB / 413.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.239, allocations: 108.9 kB / 413.2 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.2391, allocations: 0 / 413.2 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2392, allocations: 8 kB / 413.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.2393, allocations: 4 kB / 413.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2393, allocations: 3.984 kB / 413.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.615e-05/0.2393, allocations: 110.4 kB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2394, allocations: 3.938 kB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.2397, allocations: 16 kB / 413.3 MB, free: 21.55 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.239e-05/0.2398, allocations: 107.2 kB / 413.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.2401, allocations: 83.84 kB / 413.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2401, allocations: 0 / 413.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.2402, allocations: 12.67 kB / 413.5 MB, free: 21.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.2408, allocations: 60.47 kB / 413.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007566/0.2415, allocations: 304.9 kB / 413.9 MB, free: 20.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2417, allocations: 0.716 MB / 414.6 MB, free: 20.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.2418, allocations: 11.44 kB / 414.6 MB, free: 20.19 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2418, allocations: 3.938 kB / 414.6 MB, free: 20.19 MB / 298.7 MB Notification: Performance of Templates: time 0.003213/0.245, allocations: 1.178 MB / 415.8 MB, free: 19.02 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches