Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001276, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008601/0.0008602, allocations: 87.48 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.688e-05, allocations: 4 kB / 350.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.0963, allocations: 51.48 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.4871, allocations: 77.82 MB / 479.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4874, allocations: 74.83 kB / 479.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003836/0.4912, allocations: 1.573 MB / 481.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4913, allocations: 0 / 481.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4913, allocations: 4 kB / 481.5 MB, free: 10.2 MB / 346.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.0002735/0.4915, allocations: 360.7 kB / 481.8 MB, free: 9.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4916, allocations: 8.031 kB / 481.9 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4917, allocations: 19.27 kB / 481.9 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4919, allocations: 188.1 kB / 482.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4919, allocations: 4.859 kB / 482.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4919, allocations: 6.594 kB / 482.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.4921, allocations: 115.9 kB / 482.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.4922, allocations: 3.938 kB / 482.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4922, allocations: 7.984 kB / 482.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4922, allocations: 0 / 482.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.4922, allocations: 11.94 kB / 482.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.4925, allocations: 269.6 kB / 482.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.4927, allocations: 138.9 kB / 482.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.4927, allocations: 21.72 kB / 482.6 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.4927, allocations: 4 kB / 482.6 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.4928, allocations: 31.06 kB / 482.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.4928, allocations: 0.75 kB / 482.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000152/0.4929, allocations: 64.94 kB / 482.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.493, allocations: 81.09 kB / 482.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.4931, allocations: 125.6 kB / 482.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.4931, allocations: 29.73 kB / 483 MB, free: 8.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.4931, allocations: 87.98 kB / 483 MB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.4931, allocations: 3.938 kB / 483 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.4931, allocations: 0 / 483 MB, free: 8.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.4932, allocations: 324.4 kB / 483.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.4932, allocations: 4 kB / 483.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.4932, allocations: 27.31 kB / 483.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.4933, allocations: 11.81 kB / 483.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4933, allocations: 0 / 483.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.412e-05/0.4933, allocations: 65.42 kB / 483.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4934, allocations: 5.719 kB / 483.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4934, allocations: 7.984 kB / 483.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4934, allocations: 0 / 483.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.4935, allocations: 16.06 kB / 483.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4935, allocations: 4.688 kB / 483.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.4935, allocations: 4 kB / 483.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.4935, allocations: 5.078 kB / 483.5 MB, free: 8.02 MB / 346.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 4.881e-05/0.4936, allocations: 108.8 kB / 483.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.4937, allocations: 49.19 kB / 483.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.4937, allocations: 12.02 kB / 483.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4937, allocations: 0 / 483.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4937, allocations: 10.28 kB / 483.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4937, allocations: 4.688 kB / 483.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.4939, allocations: 169.4 kB / 483.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4939, allocations: 0 / 483.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.4939, allocations: 11.98 kB / 483.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4939, allocations: 5.453 kB / 483.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4939, allocations: 8.438 kB / 483.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4939, allocations: 1.484 kB / 483.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.494, allocations: 0 / 483.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4941, allocations: 169.7 kB / 484 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.4941, allocations: 98.02 kB / 484.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4942, allocations: 0 / 484.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.4942, allocations: 4 kB / 484.1 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.4943, allocations: 7.922 kB / 484.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.4943, allocations: 4 kB / 484.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.4943, allocations: 108.6 kB / 484.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4943, allocations: 0 / 484.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.4945, allocations: 11.94 kB / 484.3 MB, free: 7.195 MB / 346.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 () * 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.0001001/0.4947, allocations: 95.25 kB / 484.4 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.578e-05/0.4947, allocations: 19.88 kB / 484.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4948, allocations: 0 / 484.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.4948, allocations: 7.984 kB / 484.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.495, allocations: 24.11 kB / 484.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.4952, allocations: 110.2 kB / 484.5 MB, free: 6.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.4953, allocations: 0.6926 MB / 485.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.803e-05/0.4954, allocations: 4 kB / 485.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.4954, allocations: 11.38 kB / 485.2 MB, free: 6.203 MB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4954, allocations: 0 / 485.2 MB, free: 6.203 MB / 346.7 MB Notification: Performance of Templates: time 0.002101/0.4975, allocations: 469.8 kB / 485.7 MB, free: 5.785 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches