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.00113/0.001136, allocations: 199 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.6 MB / 244.7 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008218/0.000822, allocations: 99.5 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002563, allocations: 8 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2644, allocations: 51.3 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001562/0.266, allocations: 1.308 MB / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.2669, allocations: 0.5551 MB / 409.9 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.267, allocations: 9.344 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.267, allocations: 3.938 kB / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.2673, allocations: 27.91 kB / 410 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.2675, allocations: 60.27 kB / 410 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.2676, allocations: 63.78 kB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2678, allocations: 17.44 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2679, allocations: 35.84 kB / 410.1 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.268, allocations: 30.5 kB / 410.2 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.268, allocations: 4 kB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.25e-05/0.268, allocations: 8 kB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.2681, allocations: 19.92 kB / 410.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.2681, allocations: 61.48 kB / 410.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.572e-05/0.2682, allocations: 55.89 kB / 410.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2682, allocations: 0 / 410.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2682, allocations: 1.219 kB / 410.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2683, allocations: 0 / 410.3 MB, free: 25.45 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.0004524/0.2687, allocations: 394 kB / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2688, allocations: 12.02 kB / 410.7 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.2689, allocations: 26.25 kB / 410.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2691, allocations: 194.5 kB / 410.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2691, allocations: 12.28 kB / 410.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2691, allocations: 4.375 kB / 410.9 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.2696, allocations: 231.8 kB / 411.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2696, allocations: 0 / 411.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2696, allocations: 3.984 kB / 411.2 MB, free: 24.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.2697, allocations: 7.984 kB / 411.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.2698, allocations: 55.97 kB / 411.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.2701, allocations: 290.5 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.2703, allocations: 103.8 kB / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2704, allocations: 58.73 kB / 411.7 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.2704, allocations: 0 / 411.7 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2704, allocations: 38.56 kB / 411.7 MB, free: 23.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.2705, allocations: 3.938 kB / 411.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003921/0.2709, allocations: 157.7 kB / 411.9 MB, free: 23.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.2709, allocations: 118.9 kB / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.271, allocations: 137.9 kB / 412.1 MB, free: 23.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.271, allocations: 33.7 kB / 412.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.2711, allocations: 88.14 kB / 412.2 MB, free: 23.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.2712, allocations: 7.906 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.2712, allocations: 4 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.2712, allocations: 318.8 kB / 412.6 MB, free: 22.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.2713, allocations: 19.98 kB / 412.6 MB, free: 22.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.2714, allocations: 101.3 kB / 412.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2715, allocations: 125.2 kB / 412.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.2715, allocations: 0 / 412.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002014/0.2717, allocations: 133.6 kB / 412.9 MB, free: 22.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2718, allocations: 14.22 kB / 412.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2718, allocations: 0 / 412.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2718, allocations: 4 kB / 412.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.2719, allocations: 27.98 kB / 413 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2719, allocations: 7.938 kB / 413 MB, free: 22.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.272, allocations: 11.84 kB / 413 MB, free: 22.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.272, allocations: 8 kB / 413 MB, free: 22.42 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 7.353e-05/0.2721, allocations: 133.1 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.2723, allocations: 97.52 kB / 413.2 MB, free: 22.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2723, allocations: 20.3 kB / 413.2 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2723, allocations: 4 kB / 413.3 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2723, allocations: 0 / 413.3 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2723, allocations: 0 / 413.3 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2725, allocations: 193.4 kB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2725, allocations: 0 / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.2726, allocations: 27.91 kB / 413.5 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2726, allocations: 0 / 413.5 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2726, allocations: 4 kB / 413.5 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2726, allocations: 4 kB / 413.5 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2726, allocations: 0 / 413.5 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2729, allocations: 229.1 kB / 413.7 MB, free: 21.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.273, allocations: 100.9 kB / 413.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.273, allocations: 8 kB / 413.8 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.2731, allocations: 7.984 kB / 413.8 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.2731, allocations: 4 kB / 413.8 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2731, allocations: 8.125 kB / 413.8 MB, free: 21.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.317e-05/0.2732, allocations: 110.3 kB / 413.9 MB, free: 21.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2732, allocations: 3.938 kB / 413.9 MB, free: 21.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.2735, allocations: 16 kB / 414 MB, free: 21.36 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.991e-05/0.2736, allocations: 103.2 kB / 414.1 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2738, allocations: 87.83 kB / 414.1 MB, free: 21.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2738, allocations: 0 / 414.1 MB, free: 21.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.2738, allocations: 8 kB / 414.1 MB, free: 21.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.2743, allocations: 74.98 kB / 414.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.2748, allocations: 308.9 kB / 414.5 MB, free: 20.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2749, allocations: 0.7083 MB / 415.2 MB, free: 20.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.275, allocations: 11.44 kB / 415.2 MB, free: 20 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.275, allocations: 0 / 415.2 MB, free: 20 MB / 298.7 MB Notification: Performance of Templates: time 0.002734/0.2777, allocations: 1.182 MB / 416.4 MB, free: 18.82 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