Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, 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.412/1.412, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009976/0.0009977, allocations: 95.2 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.073e-05, allocations: 4 kB / 350.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5827, allocations: 77.82 MB / 479.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.583, allocations: 78.33 kB / 479.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008377/0.5914, allocations: 2.21 MB / 482.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5914, allocations: 0 / 482.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5915, allocations: 0 / 482.1 MB, free: 9.703 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003639/0.5919, allocations: 361.5 kB / 482.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5919, allocations: 8.688 kB / 482.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.5921, allocations: 19.27 kB / 482.5 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.5923, allocations: 184.1 kB / 482.7 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.5924, allocations: 4 kB / 482.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.5924, allocations: 11.48 kB / 482.7 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.5927, allocations: 103.6 kB / 482.8 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5927, allocations: 4 kB / 482.8 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5927, allocations: 1.219 kB / 482.8 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5927, allocations: 3.422 kB / 482.8 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.5928, allocations: 15.81 kB / 482.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.5932, allocations: 265.1 kB / 483.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.5933, allocations: 49.02 kB / 483.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.5933, allocations: 13.72 kB / 483.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.5933, allocations: 4.062 kB / 483.2 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.5934, allocations: 34.5 kB / 483.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.5934, allocations: 0 / 483.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001762/0.5936, allocations: 49.53 kB / 483.2 MB, free: 8.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5936, allocations: 81.05 kB / 483.3 MB, free: 8.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.5937, allocations: 126.9 kB / 483.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.5938, allocations: 29.64 kB / 483.5 MB, free: 8.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.5938, allocations: 93.45 kB / 483.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.5938, allocations: 7.891 kB / 483.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.5938, allocations: 0 / 483.6 MB, free: 8.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.5939, allocations: 314.8 kB / 483.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.5939, allocations: 7.938 kB / 483.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.5939, allocations: 17.72 kB / 483.9 MB, free: 7.773 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.594, allocations: 11.81 kB / 483.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.594, allocations: 0 / 483.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.184e-05/0.5941, allocations: 37.69 kB / 483.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5941, allocations: 9.406 kB / 484 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5941, allocations: 0 / 484 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5941, allocations: 0 / 484 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.5942, allocations: 16.05 kB / 484 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5943, allocations: 4 kB / 484 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.5943, allocations: 6.812 kB / 484 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.5943, allocations: 4 kB / 484 MB, free: 7.691 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.406e-05/0.5944, allocations: 108.9 kB / 484.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.5945, allocations: 37.61 kB / 484.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.5945, allocations: 17.48 kB / 484.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5945, allocations: 0 / 484.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5946, allocations: 0 / 484.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5946, allocations: 4.031 kB / 484.2 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.5948, allocations: 173.5 kB / 484.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5948, allocations: 0 / 484.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.5948, allocations: 4 kB / 484.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5948, allocations: 0 / 484.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.5949, allocations: 7.984 kB / 484.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5949, allocations: 0 / 484.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.5949, allocations: 3.938 kB / 484.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.595, allocations: 161.8 kB / 484.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.5951, allocations: 89 kB / 484.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.5951, allocations: 7.984 kB / 484.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.5952, allocations: 0 / 484.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.5953, allocations: 4 kB / 484.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.5953, allocations: 0 / 484.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.499e-05/0.5954, allocations: 120.2 kB / 484.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5954, allocations: 0 / 484.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003919/0.5958, allocations: 8 kB / 484.7 MB, free: 6.891 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 (2): * Single equations (assignments): 2 * 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.0001015/0.5959, allocations: 95.25 kB / 484.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.536e-05/0.596, allocations: 20.8 kB / 484.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.596, allocations: 0 / 484.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.596, allocations: 4 kB / 484.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.5964, allocations: 21.41 kB / 484.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.5967, allocations: 93.52 kB / 484.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.5968, allocations: 0.6887 MB / 485.6 MB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.5969, allocations: 7.984 kB / 485.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.5969, allocations: 8.562 kB / 485.7 MB, free: 5.914 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5969, allocations: 0 / 485.7 MB, free: 5.914 MB / 346.7 MB Notification: Performance of Templates: time 0.002714/0.5996, allocations: 476.7 kB / 486.1 MB, free: 5.496 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches