Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 194 kB / 17.38 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 226.6 MB / 244.7 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007614/0.0007614, allocations: 96.17 kB / 296.8 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002779, allocations: 11.98 kB / 356.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.267, allocations: 51.29 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001673/0.2687, allocations: 1.319 MB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007194/0.2695, allocations: 489.8 kB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.2696, allocations: 4 kB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.697e-05/0.2697, allocations: 7.922 kB / 409.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2698, allocations: 16.41 kB / 409.9 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.27, allocations: 44.67 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.2701, allocations: 55.77 kB / 410 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2703, allocations: 13.75 kB / 410 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2704, allocations: 24.55 kB / 410 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.2705, allocations: 32.67 kB / 410 MB, free: 25.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2705, allocations: 4 kB / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.2705, allocations: 4 kB / 410 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.2706, allocations: 16.45 kB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.2706, allocations: 52.73 kB / 410.1 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.351e-05/0.2707, allocations: 47.91 kB / 410.2 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2707, allocations: 0 / 410.2 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2707, allocations: 0 / 410.2 MB, free: 25.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.2707, allocations: 0 / 410.2 MB, free: 25.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004386/0.2712, allocations: 384.2 kB / 410.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2712, allocations: 13.44 kB / 410.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.2715, allocations: 40.2 kB / 410.6 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2716, allocations: 201.1 kB / 410.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2717, allocations: 384 / 410.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2717, allocations: 4.375 kB / 410.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.272, allocations: 146.2 kB / 410.9 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.272, allocations: 0 / 410.9 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.272, allocations: 4 kB / 410.9 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.272, allocations: 3.984 kB / 410.9 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.2722, allocations: 55.91 kB / 411 MB, free: 24.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.2726, allocations: 377.9 kB / 411.4 MB, free: 24.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.2727, allocations: 91.78 kB / 411.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.2728, allocations: 38.62 kB / 411.5 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.2728, allocations: 8 kB / 411.5 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2728, allocations: 38.48 kB / 411.5 MB, free: 24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2728, allocations: 0 / 411.5 MB, free: 24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003422/0.2732, allocations: 129.8 kB / 411.7 MB, free: 23.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2732, allocations: 102.8 kB / 411.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.2733, allocations: 150.9 kB / 411.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2734, allocations: 29.7 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2734, allocations: 92.08 kB / 412 MB, free: 23.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.2734, allocations: 11.89 kB / 412 MB, free: 23.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2734, allocations: 64 / 412 MB, free: 23.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.2735, allocations: 322.8 kB / 412.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.2736, allocations: 23.98 kB / 412.4 MB, free: 23.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.2736, allocations: 47.41 kB / 412.4 MB, free: 23.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2738, allocations: 75.34 kB / 412.5 MB, free: 22.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2738, allocations: 0 / 412.5 MB, free: 22.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001646/0.2739, allocations: 97.5 kB / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.274, allocations: 4 kB / 412.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.274, allocations: 0 / 412.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.274, allocations: 4 kB / 412.6 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.2741, allocations: 16.11 kB / 412.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2741, allocations: 7.938 kB / 412.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.2742, allocations: 11.88 kB / 412.6 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2742, allocations: 4 kB / 412.6 MB, free: 22.81 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.2743, allocations: 121.8 kB / 412.8 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.2743, allocations: 57.58 kB / 412.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2744, allocations: 15.81 kB / 412.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.2744, allocations: 8.031 kB / 412.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2744, allocations: 0 / 412.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2744, allocations: 0 / 412.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.2746, allocations: 185.5 kB / 413 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2746, allocations: 0 / 413 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.2747, allocations: 11.98 kB / 413 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2747, allocations: 0 / 413 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.2747, allocations: 4 kB / 413 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2747, allocations: 3.938 kB / 413 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2747, allocations: 0 / 413 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2749, allocations: 283.5 kB / 413.3 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.275, allocations: 93 kB / 413.4 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.275, allocations: 4 kB / 413.4 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2751, allocations: 8 kB / 413.4 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.2752, allocations: 3.984 kB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.2752, allocations: 4 kB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.2752, allocations: 119.1 kB / 413.5 MB, free: 21.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2752, allocations: 0 / 413.5 MB, free: 21.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.2755, allocations: 8 kB / 413.6 MB, free: 21.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.79e-05/0.2756, allocations: 103.2 kB / 413.7 MB, free: 21.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.2758, allocations: 63.83 kB / 413.7 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2758, allocations: 0 / 413.7 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.2759, allocations: 28.23 kB / 413.7 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.2764, allocations: 26.42 kB / 413.8 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.2768, allocations: 257.1 kB / 414 MB, free: 21.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2769, allocations: 0.6965 MB / 414.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.277, allocations: 15.44 kB / 414.7 MB, free: 20.52 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.277, allocations: 0 / 414.7 MB, free: 20.52 MB / 298.7 MB Notification: Performance of Templates: time 0.00216/0.2792, allocations: 0.9155 MB / 415.6 MB, free: 19.61 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches