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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 109.4 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008548/0.0008552, allocations: 35.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2828, allocations: 49.45 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004582/0.2875, allocations: 2.711 MB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.2892, allocations: 0.896 MB / 403.1 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.2894, allocations: 11.94 kB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.2897, allocations: 39.59 kB / 403.1 MB, free: 29.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.29, allocations: 51.64 kB / 403.2 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.2907, allocations: 217.1 kB / 403.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.2911, allocations: 354.9 kB / 403.7 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.2914, allocations: 172.8 kB / 403.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2916, allocations: 119.4 kB / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.2917, allocations: 147.1 kB / 404.2 MB, free: 28.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.2918, allocations: 16 kB / 404.2 MB, free: 28.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2919, allocations: 51.97 kB / 404.2 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.292, allocations: 67.73 kB / 404.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.2922, allocations: 151 kB / 404.4 MB, free: 28.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.2925, allocations: 388.2 kB / 404.8 MB, free: 27.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2925, allocations: 0 / 404.8 MB, free: 27.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2925, allocations: 0 / 404.8 MB, free: 27.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2925, allocations: 0 / 404.8 MB, free: 27.99 MB / 298.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.001019/0.2935, allocations: 0.6352 MB / 405.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2936, allocations: 12.03 kB / 405.5 MB, free: 27.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.2937, allocations: 40.47 kB / 405.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.2941, allocations: 323.9 kB / 405.8 MB, free: 26.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.2941, allocations: 20.94 kB / 405.8 MB, free: 26.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.2941, allocations: 28.38 kB / 405.9 MB, free: 26.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.2953, allocations: 0.7482 MB / 406.6 MB, free: 26.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2953, allocations: 3.906 kB / 406.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.2954, allocations: 12 kB / 406.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2954, allocations: 4 kB / 406.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.2959, allocations: 223.8 kB / 406.9 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.2966, allocations: 0.7796 MB / 407.6 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.2975, allocations: 0.6115 MB / 408.2 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.2979, allocations: 272.7 kB / 408.5 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006467/0.2986, allocations: 0.5895 MB / 409.1 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2986, allocations: 42.56 kB / 409.1 MB, free: 23.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 3.497e-06/0.2987, allocations: 112 / 409.1 MB, free: 23.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001152/0.2998, allocations: 0.5446 MB / 409.7 MB, free: 22.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.2999, allocations: 203.9 kB / 409.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3002, allocations: 254.6 kB / 410.1 MB, free: 22.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3002, allocations: 29.7 kB / 410.2 MB, free: 22.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3003, allocations: 152.8 kB / 410.3 MB, free: 22.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.3004, allocations: 55.47 kB / 410.4 MB, free: 21.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.3005, allocations: 86.28 kB / 410.5 MB, free: 21.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3006, allocations: 346.8 kB / 410.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3008, allocations: 85.06 kB / 410.9 MB, free: 21.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3011, allocations: 431 kB / 411.3 MB, free: 20.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.3016, allocations: 0.5281 MB / 411.8 MB, free: 20.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3016, allocations: 8 kB / 411.8 MB, free: 20.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006405/0.3022, allocations: 497.1 kB / 412.3 MB, free: 19.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3023, allocations: 12 kB / 412.3 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3023, allocations: 12 kB / 412.3 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.3023, allocations: 16 kB / 412.4 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3026, allocations: 119.8 kB / 412.5 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.3026, allocations: 19.94 kB / 412.5 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.3029, allocations: 56.08 kB / 412.6 MB, free: 19.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.3029, allocations: 32 kB / 412.6 MB, free: 19.39 MB / 298.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 ($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.0002199/0.3031, allocations: 190.1 kB / 412.8 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/0.3037, allocations: 345 kB / 413.1 MB, free: 18.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/0.3044, allocations: 365.6 kB / 413.5 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3044, allocations: 4 kB / 413.5 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3044, allocations: 4 kB / 413.5 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3044, allocations: 3.984 kB / 413.5 MB, free: 18.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.3047, allocations: 348.9 kB / 413.8 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3047, allocations: 4 kB / 413.8 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.3051, allocations: 103.8 kB / 413.9 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3051, allocations: 4 kB / 413.9 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.3051, allocations: 12 kB / 413.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.3052, allocations: 4 kB / 413.9 MB, free: 17.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3052, allocations: 0 / 413.9 MB, free: 17.96 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "PI.x = previous(PI.x) + PI.u * PI.Ts / PI.T" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.3074, allocations: 1.389 MB / 415.3 MB, free: 16.49 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.