Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 97.56 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000964/0.0009643, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.24, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.002895/0.2429, allocations: 2.435 MB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2441, allocations: 0.8456 MB / 410.3 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2443, allocations: 11.94 kB / 410.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.2446, allocations: 39.7 kB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.2447, allocations: 59.67 kB / 410.4 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.2452, allocations: 175.8 kB / 410.6 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.2455, allocations: 379.5 kB / 411 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.2456, allocations: 95.91 kB / 411.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.2458, allocations: 159.4 kB / 411.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.246, allocations: 171.2 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.2461, allocations: 20 kB / 411.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.2461, allocations: 24 kB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.2462, allocations: 95.72 kB / 411.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.2463, allocations: 159 kB / 411.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.2465, allocations: 340.3 kB / 412 MB, free: 22.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2466, allocations: 0 / 412 MB, free: 22.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2466, allocations: 4 kB / 412 MB, free: 22.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.2466, allocations: 0 / 412 MB, free: 22.83 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001031/0.2476, allocations: 0.6703 MB / 412.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2477, allocations: 8.875 kB / 412.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.2477, allocations: 48.47 kB / 412.7 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.248, allocations: 307.1 kB / 413 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.2482, allocations: 138.3 kB / 413.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.2482, allocations: 28.38 kB / 413.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.2492, allocations: 0.5676 MB / 413.8 MB, free: 20.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2492, allocations: 3.906 kB / 413.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.2493, allocations: 12 kB / 413.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2493, allocations: 8 kB / 413.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2505, allocations: 0.5151 MB / 414.3 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.2517, allocations: 1.026 MB / 415.3 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.2531, allocations: 0.5001 MB / 415.8 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.2536, allocations: 263.4 kB / 416.1 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.2536, allocations: 7.938 kB / 416.1 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2537, allocations: 38.56 kB / 416.1 MB, free: 18.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/0.2537, allocations: 4 kB / 416.1 MB, free: 18.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.03449/0.2882, allocations: 5.761 MB / 421.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.2883, allocations: 145 kB / 422 MB, free: 12.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2885, allocations: 258.6 kB / 422.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.2886, allocations: 33.7 kB / 422.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.2887, allocations: 153.5 kB / 422.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2888, allocations: 189.3 kB / 422.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.2891, allocations: 114.6 kB / 422.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.2892, allocations: 350.8 kB / 423.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.2905, allocations: 0.6149 MB / 423.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.292, allocations: 0.8002 MB / 424.5 MB, free: 9.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.2945, allocations: 1.247 MB / 425.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2945, allocations: 4 kB / 425.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003017/0.2976, allocations: 1.398 MB / 427.2 MB, free: 7.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.2976, allocations: 12 kB / 427.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2976, allocations: 4 kB / 427.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.2976, allocations: 8 kB / 427.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.2989, allocations: 215.6 kB / 427.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.299, allocations: 8 kB / 427.4 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.2999, allocations: 103.7 kB / 427.5 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.562e-05/0.3, allocations: 28 kB / 427.6 MB, free: 6.781 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003053/0.3003, allocations: 193.8 kB / 427.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.3006, allocations: 169.4 kB / 427.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.3008, allocations: 67.61 kB / 428 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3008, allocations: 8.234 kB / 428 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3008, allocations: 4 kB / 428 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.3008, allocations: 11.97 kB / 428 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.3048, allocations: 2.183 MB / 430.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.3048, allocations: 12 kB / 430.2 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.3055, allocations: 187.7 kB / 430.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.3055, allocations: 15.98 kB / 430.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.3055, allocations: 24.44 kB / 430.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.3055, allocations: 23.94 kB / 430.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3056, allocations: 11.94 kB / 430.5 MB, free: 3.68 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.005185/0.3107, allocations: 2.409 MB / 432.9 MB, free: 1.086 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.