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.00118/0.00118, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001898/0.001898, allocations: 166.6 kB / 24.82 MB, free: 9.266 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 1.032/1.032, allocations: 177 MB / 205.1 MB, free: 5.469 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.983e-06/1.983e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.569e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002528/0.002554, allocations: 1.886 MB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003573, allocations: 0.7242 MB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003674, allocations: 7.938 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.003804, allocations: 23.78 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.003943, allocations: 27.73 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.004437, allocations: 167.4 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.00462, allocations: 155.5 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004728, allocations: 37.77 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.004887, allocations: 87.8 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.00498, allocations: 55.8 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.005004, allocations: 12 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.005092, allocations: 47.97 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.005158, allocations: 43.83 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.0052, allocations: 43.86 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005402, allocations: 143.5 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.005404, allocations: 4 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005405, allocations: 0 / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.005409, allocations: 0 / 276.8 MB, free: 13.73 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.0005283/0.005938, allocations: 0.4959 MB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.005979, allocations: 15.98 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.006107, allocations: 40.72 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.0063, allocations: 184.4 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.006318, allocations: 8.562 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.006331, allocations: 8.375 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.006653, allocations: 291 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.00666, allocations: 0 / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.006671, allocations: 4 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.006678, allocations: 4 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.006725, allocations: 23.98 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.00699, allocations: 295.9 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.007171, allocations: 114 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.007225, allocations: 59.62 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.007442, allocations: 63.94 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.007466, allocations: 33.39 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.007468, allocations: 0 / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000221/0.007689, allocations: 141.3 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.007746, allocations: 114.8 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.007869, allocations: 237.9 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.007886, allocations: 33.7 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.007943, allocations: 151.3 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.007963, allocations: 15.88 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.007997, allocations: 27.33 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.008117, allocations: 0.504 MB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.008132, allocations: 7.984 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.00818, allocations: 76.14 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.008229, allocations: 54.66 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008231, allocations: 0 / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.366e-05/0.008314, allocations: 77.67 kB / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.008328, allocations: 8 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008332, allocations: 0 / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.008343, allocations: 4 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.008398, allocations: 8 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.008402, allocations: 4 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.008439, allocations: 7.938 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.008444, allocations: 4 kB / 279.9 MB, free: 10.36 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.912e-05/0.008533, allocations: 172.5 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.008643, allocations: 104.5 kB / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.008791, allocations: 127.3 kB / 280.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.008796, allocations: 8 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.008798, allocations: 0 / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008802, allocations: 0 / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.008922, allocations: 141 kB / 280.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.008927, allocations: 4 kB / 280.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.009, allocations: 23.98 kB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.009005, allocations: 7.984 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.009013, allocations: 4 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.009014, allocations: 0 / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.009016, allocations: 8 kB / 280.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.009118, allocations: 211.4 kB / 280.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.009173, allocations: 39.81 kB / 280.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.009193, allocations: 4 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.009252, allocations: 8 kB / 280.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.009276, allocations: 7.984 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.009286, allocations: 0 / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.515e-05/0.009351, allocations: 168.4 kB / 280.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009351, allocations: 0 / 280.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.009529, allocations: 28 kB / 280.9 MB, free: 9.25 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.0001291/0.009658, allocations: 119.2 kB / 281 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.009759, allocations: 43.61 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009761, allocations: 0 / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.009774, allocations: 11.69 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.0101, allocations: 121.3 kB / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.01064, allocations: 307.2 kB / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.283e-05/0.0107, allocations: 84.05 kB / 281.6 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.01073, allocations: 13.14 kB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01083, allocations: 102.2 kB / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01083, allocations: 0 / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of Templates: time 0.004281/0.01512, allocations: 2.629 MB / 284.3 MB, free: 5.797 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.802134600933641]