Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002605/0.002605, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009773/0.0009771, allocations: 106.7 kB / 297.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 8 kB / 358.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3017, allocations: 51.29 MB / 409.4 MB, free: 27.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.4057, allocations: 77.24 MB / 486.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.406, allocations: 75.95 kB / 486.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003001/0.409, allocations: 1.167 MB / 487.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.409, allocations: 0 / 487.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.409, allocations: 0 / 487.9 MB, free: 12.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003747/0.4094, allocations: 357.9 kB / 488.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4095, allocations: 11.97 kB / 488.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.4095, allocations: 8.844 kB / 488.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4097, allocations: 184.2 kB / 488.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4098, allocations: 6.219 kB / 488.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.4098, allocations: 384 / 488.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.4101, allocations: 125 kB / 488.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4101, allocations: 4.125 kB / 488.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4101, allocations: 7.875 kB / 488.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.4101, allocations: 4 kB / 488.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.4102, allocations: 27.98 kB / 488.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.4106, allocations: 261.8 kB / 488.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.4108, allocations: 150.2 kB / 489 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.4108, allocations: 29.78 kB / 489 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.4109, allocations: 3.984 kB / 489 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4109, allocations: 30.56 kB / 489 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.532e-06/0.4109, allocations: 0 / 489 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002623/0.4112, allocations: 85.52 kB / 489.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.4113, allocations: 81.11 kB / 489.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4114, allocations: 134 kB / 489.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4114, allocations: 25.7 kB / 489.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.4115, allocations: 88.14 kB / 489.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.4115, allocations: 3.984 kB / 489.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.4115, allocations: 0 / 489.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4116, allocations: 319 kB / 489.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.4117, allocations: 15.92 kB / 489.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-05/0.4117, allocations: 31.44 kB / 489.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.4118, allocations: 51.36 kB / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4118, allocations: 0 / 489.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.4119, allocations: 81.55 kB / 489.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.412, allocations: 4 kB / 489.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.412, allocations: 0 / 489.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.412, allocations: 4 kB / 489.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.4121, allocations: 8 kB / 490 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4121, allocations: 7.922 kB / 490 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.4121, allocations: 4 kB / 490 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4121, allocations: 4.281 kB / 490 MB, free: 10.59 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 8.654e-05/0.4122, allocations: 121.8 kB / 490.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.4123, allocations: 53.58 kB / 490.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.4123, allocations: 8.25 kB / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4124, allocations: 4 kB / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4124, allocations: 0 / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4124, allocations: 0 / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.4125, allocations: 173.5 kB / 490.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4125, allocations: 0 / 490.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.4126, allocations: 15.92 kB / 490.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4126, allocations: 4 kB / 490.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4126, allocations: 4 kB / 490.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4126, allocations: 0 / 490.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4126, allocations: 3.938 kB / 490.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.4128, allocations: 172.2 kB / 490.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.4129, allocations: 93 kB / 490.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.4129, allocations: 4 kB / 490.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.413, allocations: 4 kB / 490.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.413, allocations: 0 / 490.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.413, allocations: 4 kB / 490.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.641e-05/0.4131, allocations: 106.2 kB / 490.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4131, allocations: 0 / 490.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.4133, allocations: 8 kB / 490.7 MB, free: 9.715 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001251/0.4134, allocations: 99.19 kB / 490.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.4136, allocations: 31.98 kB / 490.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4136, allocations: 3.938 kB / 490.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.4136, allocations: 15.92 kB / 490.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.4139, allocations: 27.95 kB / 490.9 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.4143, allocations: 165.6 kB / 491.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4145, allocations: 0.6887 MB / 491.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.713e-05/0.4146, allocations: 4 kB / 491.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.4146, allocations: 15.44 kB / 491.8 MB, free: 8.602 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4146, allocations: 4 kB / 491.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of Templates: time 0.002306/0.4169, allocations: 447.3 kB / 492.2 MB, free: 8.172 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches