Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 99.41 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.846e-05, allocations: 4 kB / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09013, allocations: 50.42 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/0.3883, allocations: 75.92 MB / 463.4 MB, free: 2.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.3885, allocations: 75.95 kB / 463.5 MB, free: 2.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002585/0.3911, allocations: 1.015 MB / 464.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3911, allocations: 0 / 464.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3912, allocations: 0 / 464.5 MB, free: 1.879 MB / 330.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.0002901/0.3915, allocations: 339.1 kB / 464.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3915, allocations: 12.77 kB / 464.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.3915, allocations: 11.86 kB / 464.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3917, allocations: 175 kB / 465 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3917, allocations: 4 kB / 465 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3918, allocations: 7.875 kB / 465 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.421e-05/0.3918, allocations: 14.62 kB / 465 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.392, allocations: 96.11 kB / 465.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.392, allocations: 0 / 465.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.3921, allocations: 0 / 465.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3921, allocations: 3.953 kB / 465.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.3922, allocations: 134.2 kB / 465.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.3923, allocations: 50.48 kB / 465.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.3923, allocations: 16.89 kB / 465.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3924, allocations: 8 kB / 465.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.3924, allocations: 34.56 kB / 465.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3924, allocations: 0 / 465.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001294/0.3925, allocations: 45.83 kB / 465.4 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3926, allocations: 51.41 kB / 465.5 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.3927, allocations: 105 kB / 465.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3927, allocations: 25.7 kB / 465.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.3927, allocations: 88.14 kB / 465.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.3927, allocations: 0 / 465.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.3927, allocations: 0 / 465.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3929, allocations: 326.8 kB / 466 MB, free: 172 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-06/0.3929, allocations: 3.938 kB / 466 MB, free: 168 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.3929, allocations: 23.44 kB / 466 MB, free: 132 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.3929, allocations: 12 kB / 466 MB, free: 120 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3929, allocations: 0 / 466 MB, free: 120 kB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.248e-05/0.393, allocations: 57.47 kB / 466.1 MB, free: 56 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.393, allocations: 5.25 kB / 466.1 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.393, allocations: 0.8594 kB / 466.1 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3931, allocations: 7.75 kB / 466.1 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.3931, allocations: 4 kB / 466.1 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3931, allocations: 128 / 466.1 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.3931, allocations: 8 kB / 466.1 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.3932, allocations: 0 / 466.1 MB, free: 36 kB / 330.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 () * 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 8.233e-05/0.3932, allocations: 125.2 kB / 466.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.3933, allocations: 41.7 kB / 466.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.3933, allocations: 8.328 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3934, allocations: 4 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3934, allocations: 3.938 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3934, allocations: 0 / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.833e-05/0.3935, allocations: 142.1 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3935, allocations: 4 kB / 466.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.3935, allocations: 11.98 kB / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3935, allocations: 0 / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3936, allocations: 0 / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3936, allocations: 0 / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3936, allocations: 0 / 466.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.887e-05/0.3937, allocations: 77.06 kB / 466.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.3937, allocations: 92.95 kB / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3937, allocations: 4 kB / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.3938, allocations: 4 kB / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.3938, allocations: 240 / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.3938, allocations: 4 kB / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.852e-05/0.3939, allocations: 87.27 kB / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3939, allocations: 0 / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.3941, allocations: 4 kB / 466.7 MB, free: 15.34 MB / 346.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 () * 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.00011/0.3942, allocations: 95.25 kB / 466.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.833e-05/0.3943, allocations: 27.92 kB / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3943, allocations: 0 / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.3943, allocations: 0 / 466.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.3944, allocations: 19.98 kB / 466.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.3946, allocations: 71.89 kB / 466.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.3949, allocations: 0.6846 MB / 467.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.602e-05/0.3949, allocations: 4.25 kB / 467.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.395, allocations: 15.42 kB / 467.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.395, allocations: 0 / 467.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Templates: time 0.001936/0.3969, allocations: 302 kB / 467.9 MB, free: 14.07 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches