Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 165 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9824/0.9824, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.806e-05, allocations: 6.312 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.005962/0.00599, allocations: 1.886 MB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.01027, allocations: 0.7281 MB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.01041, allocations: 7.938 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.01056, allocations: 19.73 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.01073, allocations: 35.73 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.01134, allocations: 171.4 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.01157, allocations: 151.5 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.01171, allocations: 37.77 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.01192, allocations: 83.8 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.01203, allocations: 47.86 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.01206, allocations: 16 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.01217, allocations: 55.84 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.01228, allocations: 47.83 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.01234, allocations: 35.92 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.01263, allocations: 147.5 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01264, allocations: 7.922 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01264, allocations: 0 / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.01264, allocations: 0 / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005758/0.01322, allocations: 0.4921 MB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01326, allocations: 11.98 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.0134, allocations: 48.78 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.01371, allocations: 188.4 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.01373, allocations: 4.562 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.01375, allocations: 12.36 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.01415, allocations: 292.3 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.01416, allocations: 0 / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.01417, allocations: 4 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.01418, allocations: 0 / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/0.01425, allocations: 38.78 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.01457, allocations: 323.2 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.01481, allocations: 134.3 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.01488, allocations: 59.42 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.01512, allocations: 63.92 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.01515, allocations: 37.39 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.01515, allocations: 0 / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002872/0.01544, allocations: 161.3 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.01551, allocations: 110.8 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.01565, allocations: 245.4 kB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.01566, allocations: 29.7 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.01584, allocations: 143.4 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.01587, allocations: 19.88 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.0159, allocations: 31.33 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01602, allocations: 0.5 MB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.01604, allocations: 7.984 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.01609, allocations: 76.08 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.01615, allocations: 62.83 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01615, allocations: 0 / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.665e-05/0.01624, allocations: 69.58 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01625, allocations: 4 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01625, allocations: 0 / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01627, allocations: 4 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.01633, allocations: 20.11 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.01634, allocations: 7.938 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.01638, allocations: 7.953 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.01638, allocations: 0 / 279.6 MB, free: 10.77 MB / 266.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: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.959e-05/0.01647, allocations: 176.4 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.0166, allocations: 112.5 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.01679, allocations: 139.2 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01679, allocations: 0 / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.0168, allocations: 0 / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.0168, allocations: 4 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.01694, allocations: 168.5 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.01695, allocations: 0 / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.01702, allocations: 27.98 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01703, allocations: 3.938 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01704, allocations: 4 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01704, allocations: 7.984 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01704, allocations: 0 / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.01724, allocations: 290.6 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.01729, allocations: 39.77 kB / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.01732, allocations: 8 kB / 280.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.01738, allocations: 15.98 kB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.01741, allocations: 4 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.01743, allocations: 4 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.01751, allocations: 172.4 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01751, allocations: 0 / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.0177, allocations: 28 kB / 280.8 MB, free: 9.52 MB / 266.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.01785, allocations: 111.2 kB / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.018, allocations: 63.67 kB / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.018, allocations: 0 / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.01801, allocations: 11.67 kB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.01839, allocations: 121.4 kB / 281.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.01905, allocations: 302.9 kB / 281.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.01911, allocations: 80.06 kB / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.01914, allocations: 21.31 kB / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.01918, allocations: 12.5 kB / 281.5 MB, free: 8.727 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01918, allocations: 4 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of Templates: time 0.004777/0.02395, allocations: 2.452 MB / 284 MB, free: 6.301 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.907131608109921]