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.001328/0.001328, allocations: 107.6 kB / 17.06 MB, free: 6.145 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.001436/0.001436, allocations: 195 kB / 18 MB, free: 5.219 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009461/0.0009462, allocations: 47.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2769, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003501/0.2805, allocations: 2.692 MB / 403.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2819, allocations: 0.9076 MB / 404.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.282, allocations: 11.94 kB / 404.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.2822, allocations: 63.31 kB / 404.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.2825, allocations: 51.52 kB / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.2831, allocations: 249.6 kB / 404.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.2834, allocations: 375 kB / 405 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2837, allocations: 184.8 kB / 405.2 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2838, allocations: 135.4 kB / 405.3 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.284, allocations: 155.2 kB / 405.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.2841, allocations: 32 kB / 405.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.2842, allocations: 63.97 kB / 405.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.2843, allocations: 87.61 kB / 405.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2844, allocations: 167.1 kB / 405.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.2848, allocations: 410.4 kB / 406.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2848, allocations: 0 / 406.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2848, allocations: 4 kB / 406.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2848, allocations: 0 / 406.2 MB, free: 3.336 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.0009343/0.2858, allocations: 0.648 MB / 406.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2858, allocations: 15.89 kB / 406.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.2859, allocations: 40.45 kB / 406.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.2863, allocations: 331.9 kB / 407.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2864, allocations: 28.88 kB / 407.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.2864, allocations: 24.38 kB / 407.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2877, allocations: 0.7444 MB / 408.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2877, allocations: 0 / 408.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.2877, allocations: 12 kB / 408.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2877, allocations: 4 kB / 408.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.2883, allocations: 219.8 kB / 408.3 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007581/0.2891, allocations: 0.7759 MB / 409.1 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2901, allocations: 0.6229 MB / 409.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.2905, allocations: 271.5 kB / 410 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005733/0.2911, allocations: 0.5934 MB / 410.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2911, allocations: 42.5 kB / 410.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.024e-06/0.2912, allocations: 0 / 410.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001138/0.2923, allocations: 0.5215 MB / 411.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2924, allocations: 215.5 kB / 411.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.2926, allocations: 250.6 kB / 411.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.2927, allocations: 37.7 kB / 411.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2928, allocations: 152.9 kB / 411.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.2928, allocations: 51.61 kB / 411.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.2929, allocations: 78.27 kB / 411.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2931, allocations: 346.8 kB / 412.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2932, allocations: 85.06 kB / 412.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.2936, allocations: 435 kB / 412.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.2941, allocations: 0.5359 MB / 413.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2942, allocations: 112 / 413.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007163/0.2949, allocations: 0.4928 MB / 413.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2949, allocations: 10.5 kB / 413.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2949, allocations: 12 kB / 413.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.295, allocations: 16.78 kB / 413.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.2953, allocations: 119.8 kB / 413.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.2953, allocations: 27.88 kB / 413.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.2956, allocations: 51.58 kB / 414 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.2956, allocations: 32 kB / 414 MB, free: 10.7 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.0001755/0.2958, allocations: 185.6 kB / 414.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000611/0.2964, allocations: 350.1 kB / 414.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.2971, allocations: 361.2 kB / 414.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.2971, allocations: 4 kB / 414.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2971, allocations: 0 / 414.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2971, allocations: 11.92 kB / 414.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.2975, allocations: 345 kB / 415.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2975, allocations: 0 / 415.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.2979, allocations: 107.9 kB / 415.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2979, allocations: 4 kB / 415.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.298, allocations: 8 kB / 415.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.298, allocations: 4 kB / 415.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.298, allocations: 0 / 415.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.2992, allocations: 0.7789 MB / 416.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.2993, allocations: 120.6 kB / 416.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.2994, allocations: 19.98 kB / 416.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.2996, allocations: 32.03 kB / 416.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2997, allocations: 4 kB / 416.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.2997, allocations: 12 kB / 416.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.2999, allocations: 182 kB / 416.5 MB, free: 8.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2999, allocations: 0 / 416.5 MB, free: 8.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004786/0.3004, allocations: 79.91 kB / 416.6 MB, free: 8.02 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.0001895/0.3006, allocations: 131 kB / 416.7 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.3013, allocations: 357.1 kB / 417.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3013, allocations: 0 / 417.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3014, allocations: 23.98 kB / 417.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3024, allocations: 320 kB / 417.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3038, allocations: 0.7508 MB / 418.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3042, allocations: 0.812 MB / 419 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.684e-05/0.3043, allocations: 39.27 kB / 419 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.3044, allocations: 35.44 kB / 419 MB, free: 5.496 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3044, allocations: 0 / 419 MB, free: 5.496 MB / 334.1 MB Notification: Performance of Templates: time 0.0088/0.3132, allocations: 4.791 MB / 423.8 MB, free: 0.7383 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