Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007616/0.0007616, allocations: 92.5 kB / 297.4 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002063/0.0002063, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1917, allocations: 51.29 MB / 408.6 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09286/0.2846, allocations: 81.59 MB / 490.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.2849, allocations: 75.95 kB / 490.3 MB, free: 9.953 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02019/0.3051, allocations: 7.56 MB / 497.9 MB, free: 2.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3051, allocations: 0 / 497.9 MB, free: 2.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.3052, allocations: 8 kB / 497.9 MB, free: 2.383 MB / 362.7 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.000889/0.3061, allocations: 0.6001 MB / 498.5 MB, free: 1.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3061, allocations: 12.03 kB / 498.5 MB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.3062, allocations: 40.38 kB / 498.5 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.3068, allocations: 363.8 kB / 498.9 MB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3068, allocations: 24.94 kB / 498.9 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.3069, allocations: 28.38 kB / 498.9 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.3082, allocations: 0.7381 MB / 499.7 MB, free: 480 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3082, allocations: 3.938 kB / 499.7 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.3083, allocations: 12 kB / 499.7 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3083, allocations: 7.938 kB / 499.7 MB, free: 456 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.3088, allocations: 235.5 kB / 499.9 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.3096, allocations: 0.7642 MB / 0.489 GB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009784/0.3106, allocations: 0.6034 MB / 0.4895 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.3111, allocations: 267.8 kB / 0.4898 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/0.3117, allocations: 0.5817 MB / 0.4904 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3117, allocations: 54.42 kB / 0.4904 GB, free: 13.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.604e-06/0.3117, allocations: 0 / 0.4904 GB, free: 13.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.001207/0.3129, allocations: 0.5204 MB / 0.4909 GB, free: 13.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.3131, allocations: 186.2 kB / 0.4911 GB, free: 12.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3134, allocations: 246.6 kB / 0.4913 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.3134, allocations: 37.7 kB / 0.4914 GB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3135, allocations: 152.7 kB / 0.4915 GB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.3136, allocations: 39.69 kB / 0.4916 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.3136, allocations: 12 kB / 0.4916 GB, free: 12.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3137, allocations: 346.8 kB / 0.4919 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3139, allocations: 89.06 kB / 0.492 GB, free: 11.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.3143, allocations: 425.6 kB / 0.4924 GB, free: 11.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.3149, allocations: 0.5439 MB / 0.4929 GB, free: 10.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3149, allocations: 4.109 kB / 0.4929 GB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007678/0.3157, allocations: 0.4931 MB / 0.4934 GB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3157, allocations: 16.88 kB / 0.4934 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3158, allocations: 12 kB / 0.4934 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.3158, allocations: 20 kB / 0.4935 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.3161, allocations: 123.8 kB / 0.4936 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.3162, allocations: 23.88 kB / 0.4936 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3164, allocations: 55.66 kB / 0.4937 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.3164, allocations: 32 kB / 0.4937 GB, free: 9.898 MB / 378.7 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 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.3167, allocations: 182.2 kB / 0.4939 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00064/0.3173, allocations: 344.7 kB / 0.4942 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/0.318, allocations: 357.7 kB / 0.4945 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.3181, allocations: 8 kB / 0.4945 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3181, allocations: 0 / 0.4945 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.3181, allocations: 7.984 kB / 0.4945 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.3185, allocations: 325.1 kB / 0.4949 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3185, allocations: 0 / 0.4949 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.3189, allocations: 107.9 kB / 0.495 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.3189, allocations: 7.938 kB / 0.495 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.3189, allocations: 8 kB / 0.495 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3189, allocations: 8 kB / 0.495 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3189, allocations: 0 / 0.495 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.3202, allocations: 0.7786 MB / 0.4957 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.3203, allocations: 128.5 kB / 0.4959 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.3204, allocations: 12 kB / 0.4959 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3206, allocations: 28.05 kB / 0.4959 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.3207, allocations: 7.984 kB / 0.4959 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.3207, allocations: 12 kB / 0.4959 GB, free: 7.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.3209, allocations: 178 kB / 0.4961 GB, free: 7.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3209, allocations: 0 / 0.4961 GB, free: 7.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005195/0.3214, allocations: 87.84 kB / 0.4962 GB, free: 7.234 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002046/0.3216, allocations: 123.6 kB / 0.4963 GB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.3224, allocations: 364.3 kB / 0.4966 GB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3224, allocations: 3.938 kB / 0.4966 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3225, allocations: 45.23 kB / 0.4967 GB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.3235, allocations: 300.6 kB / 0.497 GB, free: 6.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3251, allocations: 0.9311 MB / 0.4979 GB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3255, allocations: 0.8161 MB / 0.4987 GB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.3256, allocations: 35.38 kB / 0.4987 GB, free: 4.566 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3256, allocations: 0 / 0.4987 GB, free: 4.566 MB / 378.7 MB Notification: Performance of Templates: time 0.006207/0.3318, allocations: 4.354 MB / 0.503 GB, free: 236 kB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches