Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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.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_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_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002247/0.002247, allocations: 206.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.726/1.726, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3206, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.007134/0.3278, allocations: 2.692 MB / 412.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.3308, allocations: 0.9349 MB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.3313, allocations: 15.94 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.3317, allocations: 59.33 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.3322, allocations: 55.45 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3336, allocations: 255 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008448/0.3344, allocations: 378.9 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.335, allocations: 192.8 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.3353, allocations: 147.3 kB / 414.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.3356, allocations: 143.3 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.3358, allocations: 28 kB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.336, allocations: 71.95 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.3362, allocations: 79.69 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.3365, allocations: 159.1 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.3372, allocations: 422.2 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3373, allocations: 0 / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3373, allocations: 4 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.3373, allocations: 0 / 415.5 MB, free: 11.93 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.001801/0.3391, allocations: 0.6403 MB / 416.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3392, allocations: 8.031 kB / 416.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.3394, allocations: 40.47 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008763/0.3403, allocations: 335.9 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.3403, allocations: 28.88 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-05/0.3404, allocations: 24.38 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.3428, allocations: 0.7365 MB / 417.3 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.3428, allocations: 7.938 kB / 417.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.3429, allocations: 12 kB / 417.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3429, allocations: 8 kB / 417.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.344, allocations: 223.6 kB / 417.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.3454, allocations: 0.7643 MB / 418.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3472, allocations: 0.6186 MB / 418.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.3481, allocations: 263.4 kB / 419.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.3492, allocations: 0.6009 MB / 419.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.3493, allocations: 42.56 kB / 419.8 MB, free: 7.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 4.008e-06/0.3493, allocations: 0 / 419.8 MB, free: 7.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.002103/0.3514, allocations: 0.5213 MB / 420.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/0.3516, allocations: 211.8 kB / 420.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.3522, allocations: 254.6 kB / 420.8 MB, free: 6.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.3522, allocations: 37.7 kB / 420.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3524, allocations: 152.8 kB / 421 MB, free: 5.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3526, allocations: 47.67 kB / 421 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.3528, allocations: 82.25 kB / 421.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.353, allocations: 350.8 kB / 421.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.3534, allocations: 85.06 kB / 421.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.3542, allocations: 438.9 kB / 422 MB, free: 4.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3552, allocations: 0.5203 MB / 422.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/0.3553, allocations: 4 kB / 422.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001592/0.3569, allocations: 0.4972 MB / 423 MB, free: 3.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.3569, allocations: 8 kB / 423 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.357, allocations: 12 kB / 423 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-05/0.357, allocations: 16 kB / 423 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.3577, allocations: 119.8 kB / 423.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-05/0.3577, allocations: 23.92 kB / 423.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.3583, allocations: 51.89 kB / 423.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.3584, allocations: 36 kB / 423.3 MB, free: 3.316 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.0004372/0.3589, allocations: 193.5 kB / 423.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/0.3602, allocations: 338 kB / 423.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3615, allocations: 361.1 kB / 424.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.3616, allocations: 8 kB / 424.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.3616, allocations: 0 / 424.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.3616, allocations: 3.984 kB / 424.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008086/0.3624, allocations: 341 kB / 424.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.3625, allocations: 4 kB / 424.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.3633, allocations: 107.8 kB / 424.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/0.3633, allocations: 4 kB / 424.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.3633, allocations: 11.98 kB / 424.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.3634, allocations: 11.94 kB / 424.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.3634, allocations: 3.938 kB / 424.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.3658, allocations: 0.7745 MB / 425.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.366, allocations: 116.6 kB / 425.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.3661, allocations: 19.98 kB / 425.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.3665, allocations: 23.98 kB / 425.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.3666, allocations: 3.984 kB / 425.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.3667, allocations: 20.06 kB / 425.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003273/0.367, allocations: 182 kB / 425.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.367, allocations: 3.938 kB / 425.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001055/0.3681, allocations: 79.91 kB / 425.8 MB, free: 0.6328 MB / 334.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.0002978/0.3684, allocations: 115.2 kB / 425.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.3697, allocations: 353.4 kB / 426.3 MB, free: 172 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.3697, allocations: 8.25 kB / 426.3 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3699, allocations: 31.91 kB / 426.3 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.3718, allocations: 305.2 kB / 426.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3743, allocations: 0.7886 MB / 427.4 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.375, allocations: 0.8119 MB / 428.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3751, allocations: 31.42 kB / 428.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3752, allocations: 0 / 428.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.01294/0.3881, allocations: 4.557 MB / 432.8 MB, free: 9.578 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches