Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.001593/0.001593, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 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.001465/0.001465, allocations: 180.1 kB / 23.7 MB, free: 4.52 MB / 14.72 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 1.417/1.417, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 51.91 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2821, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004433/0.2865, allocations: 2.544 MB / 425.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2883, allocations: 0.8727 MB / 426.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.2885, allocations: 11.94 kB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.2887, allocations: 63.31 kB / 426.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.2889, allocations: 63.45 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.2896, allocations: 245.6 kB / 426.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.2901, allocations: 374.9 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.2904, allocations: 133.3 kB / 427.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.2906, allocations: 143.4 kB / 427.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.2908, allocations: 123.3 kB / 427.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.2909, allocations: 32 kB / 427.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.291, allocations: 79.94 kB / 427.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2912, allocations: 79.64 kB / 427.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.2913, allocations: 131.3 kB / 427.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.2918, allocations: 424.4 kB / 428.3 MB, free: 9.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2918, allocations: 8 kB / 428.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2918, allocations: 0 / 428.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2918, allocations: 0 / 428.3 MB, free: 9.156 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.001116/0.293, allocations: 0.5675 MB / 428.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.293, allocations: 8.031 kB / 428.9 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/0.2931, allocations: 44.66 kB / 429 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.2936, allocations: 277.9 kB / 429.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2936, allocations: 21.03 kB / 429.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.2937, allocations: 24.38 kB / 429.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.2952, allocations: 0.7951 MB / 430.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2952, allocations: 3.938 kB / 430.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.2952, allocations: 12 kB / 430.1 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.2952, allocations: 8 kB / 430.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.2958, allocations: 215.8 kB / 430.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.2967, allocations: 0.6064 MB / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2977, allocations: 461.1 kB / 431.4 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.2982, allocations: 239.8 kB / 431.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.2986, allocations: 67.92 kB / 431.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.2987, allocations: 46.44 kB / 431.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 1.794e-06/0.2987, allocations: 0 / 431.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.00126/0.2999, allocations: 0.5283 MB / 432.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.3001, allocations: 211.7 kB / 432.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.3004, allocations: 257.8 kB / 432.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3004, allocations: 29.7 kB / 432.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3005, allocations: 157 kB / 432.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.3006, allocations: 55.77 kB / 432.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.3007, allocations: 82.19 kB / 433 MB, free: 4.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3009, allocations: 346.8 kB / 433.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3011, allocations: 84.94 kB / 433.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.3016, allocations: 481.5 kB / 433.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.3023, allocations: 0.5281 MB / 434.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3024, allocations: 8 kB / 434.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008216/0.3032, allocations: 0.4973 MB / 434.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3032, allocations: 8 kB / 434.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3032, allocations: 12 kB / 435 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.3032, allocations: 16 kB / 435 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.3036, allocations: 119.8 kB / 435.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.3036, allocations: 28.41 kB / 435.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.3038, allocations: 55.72 kB / 435.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.3039, allocations: 28 kB / 435.2 MB, free: 1.66 MB / 334.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.0002145/0.3041, allocations: 189.9 kB / 435.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006657/0.3048, allocations: 350.2 kB / 435.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007167/0.3055, allocations: 364.5 kB / 436.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3055, allocations: 8 kB / 436.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3055, allocations: 0 / 436.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3055, allocations: 3.984 kB / 436.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3058, allocations: 209 kB / 436.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.3058, allocations: 7.984 kB / 436.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.3062, allocations: 99.88 kB / 436.4 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.3062, allocations: 3.938 kB / 436.4 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.3062, allocations: 8 kB / 436.4 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.3063, allocations: 8 kB / 436.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3063, allocations: 3.938 kB / 436.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.3076, allocations: 0.771 MB / 437.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.3077, allocations: 47.66 kB / 437.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.3077, allocations: 20 kB / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.308, allocations: 31.97 kB / 437.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.308, allocations: 0 / 437.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.3081, allocations: 16 kB / 437.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3083, allocations: 181.2 kB / 437.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3083, allocations: 0 / 437.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005128/0.3088, allocations: 75.94 kB / 437.6 MB, free: 15.21 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.000207/0.309, allocations: 130.6 kB / 437.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007261/0.3097, allocations: 349.2 kB / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3097, allocations: 4 kB / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3098, allocations: 27.92 kB / 438.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3109, allocations: 287.8 kB / 438.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3124, allocations: 0.7751 MB / 439.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.3126, allocations: 206.5 kB / 439.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3127, allocations: 35.28 kB / 439.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.3128, allocations: 35.38 kB / 439.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3128, allocations: 0 / 439.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Templates: time 0.0108/0.3236, allocations: 5.352 MB / 444.7 MB, free: 8.055 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.747691994532943]