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.001145/0.001145, allocations: 195.4 kB / 18.06 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008416/0.0008418, allocations: 97.84 kB / 297.4 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002036/0.0002036, allocations: 8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1928, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08921/0.2821, allocations: 77.41 MB / 486.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.2824, allocations: 75.95 kB / 486.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003046/0.2854, allocations: 1.12 MB / 487.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2855, allocations: 0 / 487.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2855, allocations: 3.938 kB / 487.3 MB, free: 13.02 MB / 362.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.0003458/0.2858, allocations: 351.4 kB / 487.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2859, allocations: 12.03 kB / 487.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.286, allocations: 20.83 kB / 487.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2862, allocations: 180.2 kB / 487.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2862, allocations: 4.375 kB / 487.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2862, allocations: 384 / 487.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2865, allocations: 123.8 kB / 487.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2866, allocations: 192 / 487.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2866, allocations: 3.938 kB / 487.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2866, allocations: 0 / 487.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.2867, allocations: 23.98 kB / 488 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2868, allocations: 169.7 kB / 488.1 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.287, allocations: 62.48 kB / 488.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.287, allocations: 28.92 kB / 488.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2871, allocations: 0 / 488.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2871, allocations: 38.56 kB / 488.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2871, allocations: 3.938 kB / 488.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.2873, allocations: 81.55 kB / 488.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2874, allocations: 55.41 kB / 488.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.2875, allocations: 109.8 kB / 488.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2875, allocations: 33.7 kB / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2875, allocations: 88.12 kB / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-06/0.2875, allocations: 0 / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.2876, allocations: 0 / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.2877, allocations: 314.8 kB / 488.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.2877, allocations: 4 kB / 488.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.2877, allocations: 31.59 kB / 489 MB, free: 11.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.2878, allocations: 39.75 kB / 489 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2878, allocations: 0 / 489 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.035e-05/0.2878, allocations: 57.53 kB / 489.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2879, allocations: 4 kB / 489.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2879, allocations: 15.94 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2879, allocations: 4 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.2879, allocations: 4 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.288, allocations: 4 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.288, allocations: 0 / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.288, allocations: 0 / 489.1 MB, free: 10.95 MB / 362.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.282e-05/0.2881, allocations: 117.8 kB / 489.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2882, allocations: 73.58 kB / 489.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.2882, allocations: 15.78 kB / 489.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2882, allocations: 0 / 489.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2882, allocations: 4 kB / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2882, allocations: 0 / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.246e-05/0.2883, allocations: 157.7 kB / 489.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2883, allocations: 0 / 489.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.2884, allocations: 11.98 kB / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2884, allocations: 0 / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2884, allocations: 3.938 kB / 489.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2884, allocations: 4 kB / 489.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2884, allocations: 0 / 489.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2886, allocations: 89.11 kB / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.2886, allocations: 88.95 kB / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.2887, allocations: 11.92 kB / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.2887, allocations: 0 / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-06/0.2887, allocations: 4 kB / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2887, allocations: 4 kB / 489.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.2888, allocations: 91.2 kB / 489.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2888, allocations: 0 / 489.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.2889, allocations: 8 kB / 489.8 MB, free: 10.16 MB / 362.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.0001145/0.2891, allocations: 95.25 kB / 489.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.2892, allocations: 28.11 kB / 489.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2892, allocations: 3.938 kB / 489.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2892, allocations: 0 / 489.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2894, allocations: 35.8 kB / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.2897, allocations: 162.3 kB / 490.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.29, allocations: 0.6928 MB / 490.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.29, allocations: 11.38 kB / 490.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.29, allocations: 0 / 490.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of Templates: time 0.00175/0.2917, allocations: 0.5719 MB / 491.4 MB, free: 8.512 MB / 362.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/jenkins1/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