Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007525/0.0007525, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.001838, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006643/0.0006643, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008991/0.001563, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9373/0.9373, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.087/1.024, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.447e-05, allocations: 2.875 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002758/0.002783, allocations: 1.926 MB / 241.5 MB, free: 1.242 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.003751, allocations: 0.6696 MB / 242.2 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.003853, allocations: 7.938 kB / 242.2 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.003953, allocations: 31.66 kB / 242.2 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.004066, allocations: 23.86 kB / 242.2 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.004484, allocations: 151.5 kB / 242.4 MB, free: 364 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.004679, allocations: 151.5 kB / 242.5 MB, free: 212 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.004805, allocations: 50.3 kB / 242.6 MB, free: 160 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.004977, allocations: 95.78 kB / 242.7 MB, free: 64 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.005085, allocations: 47.83 kB / 242.7 MB, free: 16 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.005111, allocations: 16 kB / 242.7 MB, free: 0 / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.005245, allocations: 47.95 kB / 242.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.00533, allocations: 39.86 kB / 242.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.005381, allocations: 35.88 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.005611, allocations: 127.5 kB / 243 MB, free: 15.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.005626, allocations: 0 / 243 MB, free: 15.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005628, allocations: 0 / 243 MB, free: 15.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.005647, allocations: 0 / 243 MB, free: 15.75 MB / 250.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.0006024/0.006249, allocations: 395.9 kB / 243.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.006282, allocations: 12.03 kB / 243.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.006328, allocations: 16.92 kB / 243.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006542, allocations: 177.5 kB / 243.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.006561, allocations: 8.562 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.006577, allocations: 8.375 kB / 243.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.006949, allocations: 277.9 kB / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006957, allocations: 0 / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006968, allocations: 0 / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006976, allocations: 4 kB / 243.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.007029, allocations: 26.75 kB / 243.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.007261, allocations: 187.8 kB / 244.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.007468, allocations: 105 kB / 244.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.007524, allocations: 45.75 kB / 244.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.007745, allocations: 55.94 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.007766, allocations: 30.56 kB / 244.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.007768, allocations: 0 / 244.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.000202/0.00797, allocations: 112.1 kB / 244.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.008037, allocations: 101 kB / 244.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.00815, allocations: 171.4 kB / 244.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.008164, allocations: 29.7 kB / 244.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.008204, allocations: 96.59 kB / 244.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.008226, allocations: 15.89 kB / 244.8 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.008262, allocations: 17.72 kB / 244.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.008341, allocations: 330.7 kB / 245.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.008359, allocations: 6.828 kB / 245.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.008402, allocations: 65.98 kB / 245.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.008455, allocations: 58.69 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008457, allocations: 0 / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001122/0.00857, allocations: 78.08 kB / 245.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.008583, allocations: 4 kB / 245.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.008589, allocations: 0 / 245.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.008598, allocations: 4 kB / 245.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.008678, allocations: 15.94 kB / 245.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.008681, allocations: 4.125 kB / 245.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.008726, allocations: 7.984 kB / 245.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.008732, allocations: 4 kB / 245.4 MB, free: 13.09 MB / 250.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 9.485e-05/0.008827, allocations: 127.9 kB / 245.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.008935, allocations: 89.5 kB / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.009075, allocations: 106 kB / 245.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.00908, allocations: 4 kB / 245.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.009082, allocations: 0 / 245.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.009087, allocations: 4 kB / 245.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.009224, allocations: 101.8 kB / 245.8 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.009231, allocations: 7.938 kB / 245.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.009337, allocations: 31.92 kB / 245.8 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.009395, allocations: 39.77 kB / 245.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009397, allocations: 0 / 245.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.009406, allocations: 4 kB / 245.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.009408, allocations: 160 / 245.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009409, allocations: 0 / 245.9 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.101e-05/0.0095, allocations: 151.2 kB / 246 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.009524, allocations: 4 kB / 246 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.009602, allocations: 12.03 kB / 246 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.009625, allocations: 3.984 kB / 246.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.00964, allocations: 4 kB / 246.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.00969, allocations: 48.97 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00969, allocations: 0 / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.009904, allocations: 28 kB / 246.1 MB, free: 12.28 MB / 250.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.0001486/0.01005, allocations: 100.3 kB / 246.2 MB, free: 12.17 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.01017, allocations: 48.94 kB / 246.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.01018, allocations: 4.062 kB / 246.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.01019, allocations: 8.859 kB / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.01055, allocations: 124.2 kB / 246.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.0115, allocations: 345 kB / 246.7 MB, free: 11.61 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01156, allocations: 84.05 kB / 246.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.0116, allocations: 21.19 kB / 246.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01171, allocations: 71.36 kB / 246.9 MB, free: 11.41 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01171, allocations: 0 / 246.9 MB, free: 11.41 MB / 250.7 MB Notification: Performance of Templates: time 0.005072/0.01678, allocations: 2.674 MB / 249.6 MB, free: 8.781 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.410086632706225]