Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.001326/0.001326, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001414/0.001414, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 43.92 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2814, allocations: 53.37 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003966/0.2853, allocations: 2.557 MB / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.2869, allocations: 0.9076 MB / 435 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2871, allocations: 7.938 kB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2873, allocations: 67.33 kB / 435.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.2875, allocations: 67.44 kB / 435.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.2882, allocations: 242.5 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.2886, allocations: 378.9 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.2888, allocations: 125.4 kB / 435.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.289, allocations: 147.4 kB / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.2892, allocations: 131.2 kB / 436.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.2893, allocations: 35.98 kB / 436.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2894, allocations: 63.97 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.2895, allocations: 79.7 kB / 436.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2897, allocations: 135.2 kB / 436.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.2902, allocations: 420.4 kB / 436.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2902, allocations: 0 / 436.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2902, allocations: 8 kB / 436.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2902, allocations: 3.938 kB / 436.9 MB, free: 1.371 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001004/0.2912, allocations: 0.5714 MB / 437.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.2912, allocations: 8.031 kB / 437.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.2913, allocations: 40.7 kB / 437.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.2918, allocations: 273.9 kB / 437.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.2918, allocations: 21.03 kB / 437.8 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.2918, allocations: 28.38 kB / 437.8 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.2932, allocations: 0.791 MB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2932, allocations: 0 / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2933, allocations: 12 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2933, allocations: 11.94 kB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.2938, allocations: 223.7 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.2946, allocations: 0.6064 MB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.2956, allocations: 458.1 kB / 439.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.296, allocations: 247.9 kB / 440.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.2964, allocations: 71.66 kB / 440.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.2964, allocations: 42.5 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.943e-06/0.2964, allocations: 0 / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001205/0.2976, allocations: 0.5244 MB / 440.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.2978, allocations: 203.9 kB / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.2981, allocations: 257.8 kB / 441.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.2981, allocations: 33.7 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2982, allocations: 153 kB / 441.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.2982, allocations: 51.72 kB / 441.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2983, allocations: 82.19 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2985, allocations: 346.8 kB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.2987, allocations: 88.94 kB / 442 MB, free: 11.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.2992, allocations: 485.6 kB / 442.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.2998, allocations: 0.532 MB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.2998, allocations: 8 kB / 443 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007923/0.3006, allocations: 0.4895 MB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3006, allocations: 12 kB / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.3006, allocations: 12 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.326e-05/0.3007, allocations: 16 kB / 443.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.301, allocations: 123.8 kB / 443.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.301, allocations: 15.94 kB / 443.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.3013, allocations: 56.23 kB / 443.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.3013, allocations: 28 kB / 443.7 MB, free: 9.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002136/0.3015, allocations: 201.9 kB / 443.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/0.3021, allocations: 354 kB / 444.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.3028, allocations: 352.7 kB / 444.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.3028, allocations: 8 kB / 444.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3028, allocations: 0 / 444.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3028, allocations: 3.984 kB / 444.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.3031, allocations: 213 kB / 444.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3031, allocations: 0 / 444.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.3035, allocations: 99.88 kB / 445 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3035, allocations: 7.938 kB / 445 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3036, allocations: 12 kB / 445 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3036, allocations: 11.94 kB / 445 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3036, allocations: 3.938 kB / 445 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3049, allocations: 0.7748 MB / 445.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.3049, allocations: 43.66 kB / 445.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.305, allocations: 20 kB / 445.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3052, allocations: 31.97 kB / 445.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3053, allocations: 0 / 445.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.3053, allocations: 19.98 kB / 445.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3055, allocations: 185.2 kB / 446.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3055, allocations: 0 / 446.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004899/0.306, allocations: 75.89 kB / 446.1 MB, free: 7.418 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * 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: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0001669/0.3061, allocations: 123.2 kB / 446.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006953/0.3068, allocations: 353.3 kB / 446.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3068, allocations: 0 / 446.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.3069, allocations: 31.92 kB / 446.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.308, allocations: 289.9 kB / 446.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3094, allocations: 0.7595 MB / 447.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3096, allocations: 210.3 kB / 447.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.3097, allocations: 35.28 kB / 447.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.3098, allocations: 35.42 kB / 447.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3098, allocations: 0 / 447.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of Templates: time 0.01045/0.3203, allocations: 5.363 MB / 453.3 MB, free: 260 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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: 4.678803877905011]