Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009994/0.0009993, allocations: 195.5 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.6 MB / 244.7 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008917/0.0008915, allocations: 103.2 kB / 296.8 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002829, allocations: 4 kB / 356.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2854, allocations: 51.31 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001536/0.287, allocations: 1.202 MB / 409.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.2878, allocations: 445.4 kB / 409.7 MB, free: 26.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.2879, allocations: 4 kB / 409.7 MB, free: 26.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.2879, allocations: 3.984 kB / 409.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.288, allocations: 4.562 kB / 409.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.2883, allocations: 31.22 kB / 409.7 MB, free: 25.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.2884, allocations: 35.86 kB / 409.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2885, allocations: 8 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2886, allocations: 23.91 kB / 409.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.2887, allocations: 7.938 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2887, allocations: 4 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.062e-05/0.2887, allocations: 0 / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.2888, allocations: 12.55 kB / 409.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.2888, allocations: 43.2 kB / 409.9 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.2889, allocations: 27.94 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2889, allocations: 0 / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2889, allocations: 3.938 kB / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2889, allocations: 0 / 409.9 MB, free: 25.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004034/0.2894, allocations: 341.7 kB / 410.2 MB, free: 25.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2894, allocations: 14.19 kB / 410.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.2896, allocations: 12.84 kB / 410.3 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.2897, allocations: 180.3 kB / 410.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2898, allocations: 4.359 kB / 410.4 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2898, allocations: 5.5 kB / 410.4 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.2901, allocations: 119.8 kB / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2901, allocations: 0 / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2901, allocations: 4 kB / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2902, allocations: 0 / 410.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.2903, allocations: 31.97 kB / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.2904, allocations: 161.6 kB / 410.8 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2905, allocations: 62.53 kB / 410.8 MB, free: 24.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.2907, allocations: 32.86 kB / 410.8 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2907, allocations: 4 kB / 410.9 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2907, allocations: 34.5 kB / 410.9 MB, free: 24.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.215e-06/0.2907, allocations: 0 / 410.9 MB, free: 24.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002585/0.291, allocations: 89.5 kB / 411 MB, free: 24.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.2911, allocations: 51.41 kB / 411 MB, free: 24.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2912, allocations: 117.8 kB / 411.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2912, allocations: 25.7 kB / 411.2 MB, free: 24.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.2912, allocations: 92.08 kB / 411.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.2913, allocations: 0 / 411.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-06/0.2913, allocations: 0 / 411.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.2914, allocations: 314.8 kB / 411.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.2914, allocations: 8 kB / 411.6 MB, free: 23.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.2914, allocations: 27.81 kB / 411.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.2914, allocations: 31.38 kB / 411.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2915, allocations: 0 / 411.6 MB, free: 23.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.689e-05/0.2915, allocations: 57.69 kB / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2916, allocations: 15.88 kB / 411.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2916, allocations: 0 / 411.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2916, allocations: 0 / 411.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.2917, allocations: 11.98 kB / 411.7 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.2917, allocations: 3.938 kB / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.2917, allocations: 4 kB / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2917, allocations: 0 / 411.7 MB, free: 23.77 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.498e-05/0.2918, allocations: 113.8 kB / 411.8 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2919, allocations: 77.58 kB / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.292, allocations: 3.906 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.292, allocations: 0 / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.292, allocations: 4 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.292, allocations: 0 / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.2921, allocations: 161.7 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2921, allocations: 4 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.2922, allocations: 4 kB / 412.1 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2922, allocations: 11.94 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2922, allocations: 0 / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2922, allocations: 3.938 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2922, allocations: 3.984 kB / 412.1 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.2924, allocations: 81.12 kB / 412.2 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.2924, allocations: 92.94 kB / 412.3 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2924, allocations: 7.938 kB / 412.3 MB, free: 23.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.2925, allocations: 8 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-06/0.2925, allocations: 384 / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2925, allocations: 0 / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.68e-05/0.2925, allocations: 91.27 kB / 412.4 MB, free: 23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2925, allocations: 0 / 412.4 MB, free: 23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.2927, allocations: 4 kB / 412.4 MB, free: 23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0001406/0.2929, allocations: 95.25 kB / 412.5 MB, free: 22.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.293, allocations: 31.92 kB / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.293, allocations: 0 / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.293, allocations: 0 / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2933, allocations: 34.59 kB / 412.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.2937, allocations: 178.6 kB / 412.7 MB, free: 22.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.2939, allocations: 0.6848 MB / 413.4 MB, free: 21.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.2939, allocations: 15.44 kB / 413.4 MB, free: 21.9 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2939, allocations: 0 / 413.4 MB, free: 21.9 MB / 298.7 MB Notification: Performance of Templates: time 0.001933/0.2958, allocations: 0.5745 MB / 414 MB, free: 21.33 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches