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.001748/0.001748, allocations: 109.1 kB / 21.19 MB, free: 0.75 MB / 14.72 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.002425/0.002425, allocations: 213.5 kB / 24.49 MB, free: 4.129 MB / 14.72 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.573/1.573, allocations: 230.5 MB / 258.1 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00202/0.00202, allocations: 59.89 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 53.39 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004023/0.2921, allocations: 1.897 MB / 434.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.2941, allocations: 0.7711 MB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.2942, allocations: 4 kB / 435.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2944, allocations: 27.73 kB / 435.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.2946, allocations: 23.8 kB / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.2954, allocations: 170.8 kB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.2957, allocations: 151.6 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2959, allocations: 33.73 kB / 435.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2961, allocations: 71.7 kB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.2962, allocations: 55.7 kB / 435.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.2963, allocations: 19.94 kB / 435.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2964, allocations: 55.95 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.2965, allocations: 47.83 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.2966, allocations: 63.61 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.297, allocations: 212.3 kB / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.297, allocations: 0 / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.297, allocations: 0 / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.297, allocations: 0 / 436 MB, free: 3.172 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.000836/0.2978, allocations: 413.5 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2979, allocations: 8.031 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.2981, allocations: 32.78 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.2985, allocations: 198.7 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.2985, allocations: 8.562 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.2986, allocations: 12.12 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.2993, allocations: 332.7 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2993, allocations: 3.984 kB / 437 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.2994, allocations: 0 / 437 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2994, allocations: 4 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.2996, allocations: 79.95 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.3001, allocations: 324.6 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.3006, allocations: 185.2 kB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.3008, allocations: 93.73 kB / 437.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/0.3013, allocations: 55.94 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3013, allocations: 34.56 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.3013, allocations: 7.938 kB / 437.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006438/0.3019, allocations: 239.6 kB / 438 MB, free: 1.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.3021, allocations: 118.8 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.3023, allocations: 190.8 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3023, allocations: 29.7 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.3024, allocations: 104.7 kB / 438.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.3024, allocations: 23.89 kB / 438.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.3025, allocations: 37.72 kB / 438.5 MB, free: 492 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3027, allocations: 326.8 kB / 438.8 MB, free: 156 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3028, allocations: 47.91 kB / 438.9 MB, free: 108 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.303, allocations: 160.5 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.3034, allocations: 208.1 kB / 439.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3034, allocations: 0 / 439.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003999/0.3038, allocations: 221.3 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.3038, allocations: 8 kB / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3038, allocations: 4 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3038, allocations: 4 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.304, allocations: 43.92 kB / 439.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.304, allocations: 11.98 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.3042, allocations: 15.89 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3042, allocations: 12 kB / 439.5 MB, free: 15.31 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.0001991/0.3044, allocations: 161.9 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.3047, allocations: 161.4 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.3051, allocations: 182 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3051, allocations: 4 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3051, allocations: 0 / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3051, allocations: 3.984 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.3054, allocations: 204.5 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3054, allocations: 3.938 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.3056, allocations: 39.91 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3056, allocations: 4 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3056, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3056, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3056, allocations: 4 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.306, allocations: 283.2 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.3061, allocations: 47.69 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.3062, allocations: 11.98 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3063, allocations: 16 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.3063, allocations: 0 / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3064, allocations: 7.984 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3065, allocations: 152 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3065, allocations: 4 kB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.3069, allocations: 31.94 kB / 440.8 MB, free: 13.93 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.0002277/0.3071, allocations: 111.2 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.3075, allocations: 140.9 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3075, allocations: 0 / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.3075, allocations: 11.92 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.3082, allocations: 145.5 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.309, allocations: 366.6 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3094, allocations: 0.7323 MB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.3095, allocations: 23.42 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3095, allocations: 0 / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Templates: time 0.005471/0.3149, allocations: 2.274 MB / 444.6 MB, free: 10.08 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.593943940941244]