Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.002776, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001645/0.002902, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.955/0.955, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08795/1.043, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.203e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00206/0.002072, allocations: 1.95 MB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.002994, allocations: 0.7513 MB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.003089, allocations: 3.938 kB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.055e-05/0.00317, allocations: 19.8 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/0.003269, allocations: 31.78 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.003711, allocations: 159.5 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.003924, allocations: 151.5 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.004027, allocations: 38.44 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.004195, allocations: 103.7 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.004303, allocations: 51.81 kB / 247.8 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.00433, allocations: 12 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.004437, allocations: 55.95 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.004497, allocations: 35.86 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.004536, allocations: 31.94 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.004708, allocations: 131.5 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.004717, allocations: 4 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004717, allocations: 4 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.004727, allocations: 0 / 248 MB, free: 10.78 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.0005673/0.005294, allocations: 403.9 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.005325, allocations: 8.031 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.005485, allocations: 110 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.00566, allocations: 185.6 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.005677, allocations: 12.55 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.005689, allocations: 4.375 kB / 248.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.006013, allocations: 278.8 kB / 249 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.006019, allocations: 4 kB / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.006028, allocations: 0 / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.006034, allocations: 0 / 249 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.006077, allocations: 22.81 kB / 249.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.006268, allocations: 187.8 kB / 249.2 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.006421, allocations: 101.1 kB / 249.3 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.006468, allocations: 41.77 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.006657, allocations: 51.94 kB / 249.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.006678, allocations: 42.5 kB / 249.5 MB, free: 9.207 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.006679, allocations: 0 / 249.5 MB, free: 9.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001547/0.006834, allocations: 109.5 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.00688, allocations: 93.06 kB / 249.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.006971, allocations: 178.1 kB / 249.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.00699, allocations: 29.7 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.007026, allocations: 96.55 kB / 250 MB, free: 8.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.007041, allocations: 20 kB / 250 MB, free: 8.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.007071, allocations: 29.66 kB / 250 MB, free: 8.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.007155, allocations: 326.7 kB / 250.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.007218, allocations: 6.828 kB / 250.3 MB, free: 8.273 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.007259, allocations: 61.98 kB / 250.4 MB, free: 8.191 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.007305, allocations: 50.69 kB / 250.4 MB, free: 8.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007306, allocations: 0 / 250.4 MB, free: 8.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.885e-05/0.007375, allocations: 78.06 kB / 250.5 MB, free: 8.039 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.007386, allocations: 4 kB / 250.5 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007391, allocations: 4 kB / 250.5 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/0.007397, allocations: 0 / 250.5 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.007455, allocations: 19.98 kB / 250.5 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.007458, allocations: 0 / 250.5 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.007492, allocations: 4 kB / 250.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007498, allocations: 8 kB / 250.6 MB, free: 8 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 8.564e-05/0.007583, allocations: 136 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.007663, allocations: 85.59 kB / 250.8 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.007779, allocations: 98.58 kB / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.007783, allocations: 7.984 kB / 250.9 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.007785, allocations: 0 / 250.9 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.007788, allocations: 0 / 250.9 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.007889, allocations: 105.8 kB / 251 MB, free: 7.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.007894, allocations: 11.86 kB / 251 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.366e-05/0.007968, allocations: 35.92 kB / 251 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.008009, allocations: 19.89 kB / 251.1 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.008013, allocations: 4 kB / 251.1 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.00802, allocations: 8 kB / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.008021, allocations: 0 / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008022, allocations: 0 / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.891e-05/0.008091, allocations: 147.2 kB / 251.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.00812, allocations: 11.98 kB / 251.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.008175, allocations: 11.94 kB / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.008193, allocations: 0 / 251.2 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.008203, allocations: 7.984 kB / 251.2 MB, free: 7.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.008245, allocations: 50.06 kB / 251.3 MB, free: 7.219 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008245, allocations: 0 / 251.3 MB, free: 7.219 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.008391, allocations: 31.97 kB / 251.3 MB, free: 7.188 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 9.915e-05/0.00849, allocations: 95.78 kB / 251.4 MB, free: 7.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.679e-05/0.008577, allocations: 52.64 kB / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.008582, allocations: 4 kB / 251.5 MB, free: 7.027 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/0.00859, allocations: 4.859 kB / 251.5 MB, free: 7.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.008843, allocations: 128.7 kB / 251.6 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.00957, allocations: 353.1 kB / 251.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.12e-05/0.009621, allocations: 91.98 kB / 252 MB, free: 6.398 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.009651, allocations: 13.16 kB / 252 MB, free: 6.387 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/0.009736, allocations: 75.34 kB / 252.1 MB, free: 6.312 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.009737, allocations: 0 / 252.1 MB, free: 6.312 MB / 250.7 MB Notification: Performance of Templates: time 0.003946/0.01368, allocations: 2.676 MB / 254.8 MB, free: 3.68 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.503696270287037]