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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001388, allocations: 115.5 kB / 17.07 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 192 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 43.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3433, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004525/0.3479, allocations: 2.678 MB / 403.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.35, allocations: 0.9192 MB / 404.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004496/0.3505, allocations: 7.938 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.3508, allocations: 63.33 kB / 404.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.3513, allocations: 59.52 kB / 404.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009735/0.3523, allocations: 249.9 kB / 404.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.3529, allocations: 371 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.3533, allocations: 188.8 kB / 405.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.3536, allocations: 143.4 kB / 405.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.3539, allocations: 151.2 kB / 405.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.045e-05/0.354, allocations: 32 kB / 405.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.3542, allocations: 67.97 kB / 405.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3543, allocations: 83.67 kB / 405.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3545, allocations: 163.1 kB / 405.8 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.3551, allocations: 419.5 kB / 406.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3551, allocations: 0 / 406.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3551, allocations: 3.938 kB / 406.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.3552, allocations: 4 kB / 406.3 MB, free: 3.309 MB / 318.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.001371/0.3565, allocations: 0.6352 MB / 406.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3566, allocations: 15.89 kB / 406.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3567, allocations: 36.47 kB / 406.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.3573, allocations: 339.9 kB / 407.3 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.3574, allocations: 20.94 kB / 407.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.3574, allocations: 24.38 kB / 407.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.3589, allocations: 0.7444 MB / 408.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3589, allocations: 3.938 kB / 408.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.3589, allocations: 12 kB / 408.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3589, allocations: 4 kB / 408.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.3595, allocations: 223.7 kB / 408.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.3604, allocations: 0.7682 MB / 409.1 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3615, allocations: 0.6268 MB / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.3619, allocations: 271.5 kB / 410 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/0.3626, allocations: 0.5934 MB / 410.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.3627, allocations: 42.5 kB / 410.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.515e-06/0.3627, allocations: 4 kB / 410.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.0012/0.3639, allocations: 0.5135 MB / 411.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.364, allocations: 219.7 kB / 411.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3643, allocations: 246.6 kB / 411.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3644, allocations: 41.69 kB / 411.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3645, allocations: 152.8 kB / 411.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.3645, allocations: 47.61 kB / 411.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3646, allocations: 82.36 kB / 411.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3648, allocations: 350.7 kB / 412.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.365, allocations: 89.06 kB / 412.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.3654, allocations: 434.9 kB / 412.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.366, allocations: 0.5281 MB / 413.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.366, allocations: 0 / 413.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008701/0.3669, allocations: 0.4975 MB / 413.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3669, allocations: 12.06 kB / 413.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.3669, allocations: 12 kB / 413.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.367, allocations: 16 kB / 413.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.3673, allocations: 115.8 kB / 413.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/0.3674, allocations: 27.86 kB / 414 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.3677, allocations: 55.58 kB / 414 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.3677, allocations: 28 kB / 414 MB, free: 10.68 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.0002339/0.3679, allocations: 189.5 kB / 414.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/0.3686, allocations: 342.1 kB / 414.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006805/0.3693, allocations: 365.1 kB / 414.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3693, allocations: 4.469 kB / 414.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3693, allocations: 4 kB / 414.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.3693, allocations: 7.984 kB / 414.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.3698, allocations: 337 kB / 415.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3698, allocations: 0 / 415.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.3702, allocations: 99.88 kB / 415.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.3702, allocations: 11.92 kB / 415.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.3702, allocations: 15.98 kB / 415.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.3703, allocations: 4 kB / 415.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3703, allocations: 3.938 kB / 415.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.3715, allocations: 0.7786 MB / 416.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.3716, allocations: 112.6 kB / 416.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.3717, allocations: 16 kB / 416.3 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3719, allocations: 27.97 kB / 416.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.372, allocations: 7.984 kB / 416.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.372, allocations: 12 kB / 416.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3722, allocations: 182 kB / 416.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3722, allocations: 4.062 kB / 416.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000532/0.3727, allocations: 75.91 kB / 416.6 MB, free: 8.008 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.0001946/0.3729, allocations: 131 kB / 416.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.3737, allocations: 357.4 kB / 417.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3737, allocations: 0 / 417.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.3738, allocations: 28.22 kB / 417.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3748, allocations: 323.7 kB / 417.4 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3763, allocations: 0.7508 MB / 418.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3767, allocations: 0.812 MB / 419 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.3768, allocations: 35.28 kB / 419 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.3769, allocations: 35.42 kB / 419 MB, free: 5.48 MB / 334.1 MB Notification: Performance of SimCode: time 1.71e-07/0.3769, allocations: 0 / 419 MB, free: 5.48 MB / 334.1 MB Notification: Performance of Templates: time 0.01005/0.387, allocations: 4.656 MB / 423.7 MB, free: 0.8555 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (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) 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) Reference file matches