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.001891/0.001891, allocations: 115.9 kB / 20.44 MB, free: 1.465 MB / 14.72 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.002468/0.002468, allocations: 213.5 kB / 23.74 MB, free: 4.691 MB / 14.72 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 1.653/1.653, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001793/0.001793, allocations: 47.92 kB / 378.3 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3004, allocations: 53.35 MB / 431.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003428/0.3039, allocations: 1.907 MB / 433.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.3054, allocations: 0.7633 MB / 434.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3055, allocations: 4 kB / 434.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.3057, allocations: 23.72 kB / 434.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.3058, allocations: 31.78 kB / 434.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.3064, allocations: 163.5 kB / 434.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.3067, allocations: 155.5 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3069, allocations: 45.72 kB / 434.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.307, allocations: 63.7 kB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3072, allocations: 63.64 kB / 434.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.3072, allocations: 12 kB / 434.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3073, allocations: 55.97 kB / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.3074, allocations: 43.83 kB / 434.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.3075, allocations: 75.53 kB / 435 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.3078, allocations: 204.4 kB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3078, allocations: 0 / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3078, allocations: 0 / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3079, allocations: 4 kB / 435.2 MB, free: 3.359 MB / 334.1 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.0008119/0.3087, allocations: 405.5 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3087, allocations: 16.02 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3089, allocations: 24.8 kB / 435.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.3092, allocations: 202.7 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3093, allocations: 4.562 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.3093, allocations: 20.06 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.31, allocations: 329.7 kB / 436.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.31, allocations: 0 / 436.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.31, allocations: 4 kB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.31, allocations: 0 / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.3103, allocations: 87.88 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.3107, allocations: 320.6 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.3112, allocations: 181 kB / 436.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3114, allocations: 97.73 kB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.3118, allocations: 55.92 kB / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.3119, allocations: 38.56 kB / 437 MB, free: 1.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.3119, allocations: 0 / 437 MB, free: 1.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006324/0.3125, allocations: 244.4 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3126, allocations: 114.8 kB / 437.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3128, allocations: 186.8 kB / 437.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.3129, allocations: 33.83 kB / 437.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.313, allocations: 104.6 kB / 437.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.313, allocations: 19.89 kB / 437.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.313, allocations: 41.64 kB / 437.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3132, allocations: 326.8 kB / 438 MB, free: 356 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/0.3133, allocations: 43.97 kB / 438.1 MB, free: 312 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.3135, allocations: 165.2 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3138, allocations: 208.1 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3138, allocations: 4 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004018/0.3142, allocations: 221.2 kB / 438.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3142, allocations: 8 kB / 438.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3142, allocations: 4 kB / 438.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.3143, allocations: 8 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3144, allocations: 43.91 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3144, allocations: 7.938 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3145, allocations: 20.33 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3146, allocations: 20 kB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (22): * Single equations (assignments): 22 * 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 0.0001578/0.3147, allocations: 145.7 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.315, allocations: 169.4 kB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.3154, allocations: 171.3 kB / 439.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.3154, allocations: 7.984 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3154, allocations: 4 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3154, allocations: 0 / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3157, allocations: 204.5 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.3157, allocations: 7.938 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3159, allocations: 31.92 kB / 439.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3159, allocations: 0 / 439.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3159, allocations: 7.984 kB / 439.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3159, allocations: 4 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3159, allocations: 0 / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.3163, allocations: 284.2 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.3164, allocations: 43.75 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.3164, allocations: 4 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3166, allocations: 11.98 kB / 439.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3166, allocations: 7.938 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3166, allocations: 4 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3168, allocations: 159.9 kB / 440 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3168, allocations: 0 / 440 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.3171, allocations: 32 kB / 440 MB, free: 14.13 MB / 350.1 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.0002031/0.3173, allocations: 111.2 kB / 440.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.3177, allocations: 140.4 kB / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3177, allocations: 4 kB / 440.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.3178, allocations: 4 kB / 440.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.3184, allocations: 150.9 kB / 440.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.3191, allocations: 345.4 kB / 440.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.3196, allocations: 0.7361 MB / 441.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3196, allocations: 13.48 kB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.3197, allocations: 23.42 kB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3197, allocations: 0 / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Templates: time 0.007508/0.3272, allocations: 2.493 MB / 444 MB, free: 10.07 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1622096670325845]