Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.CascadeControlledDrive.AbsoluteClocks,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.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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, 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.547/1.547, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001059/0.001059, allocations: 103.2 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008367/0.0008367, allocations: 47.92 kB / 350 MB, free: 96 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2592, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.003167/0.2624, allocations: 2.419 MB / 401.9 MB, free: 30.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2635, allocations: 0.8092 MB / 402.7 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2637, allocations: 11.94 kB / 402.7 MB, free: 30.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.264, allocations: 43.69 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.2641, allocations: 51.69 kB / 402.8 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.2646, allocations: 175.7 kB / 403 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.2648, allocations: 379.5 kB / 403.3 MB, free: 29.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.265, allocations: 87.38 kB / 403.4 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2651, allocations: 151.4 kB / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2653, allocations: 179.2 kB / 403.7 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.2653, allocations: 24 kB / 403.8 MB, free: 29.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.2654, allocations: 20 kB / 403.8 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.2654, allocations: 95.7 kB / 403.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.2655, allocations: 163 kB / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2657, allocations: 344.3 kB / 404.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2658, allocations: 4 kB / 404.4 MB, free: 28.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.2658, allocations: 3.938 kB / 404.4 MB, free: 28.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.2658, allocations: 0 / 404.4 MB, free: 28.44 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.0008984/0.2667, allocations: 0.6626 MB / 405.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.236e-05/0.2667, allocations: 8.031 kB / 405.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.2668, allocations: 56.41 kB / 405.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.267, allocations: 295.1 kB / 405.4 MB, free: 27.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2672, allocations: 142.3 kB / 405.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.2672, allocations: 28.38 kB / 405.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008965/0.2681, allocations: 0.5661 MB / 406.1 MB, free: 26.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2681, allocations: 11.84 kB / 406.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.2682, allocations: 8 kB / 406.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2682, allocations: 12 kB / 406.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2694, allocations: 0.5113 MB / 406.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2705, allocations: 1.029 MB / 407.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2719, allocations: 0.5073 MB / 408.2 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.2725, allocations: 259.4 kB / 408.5 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.2725, allocations: 8 kB / 408.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.2725, allocations: 42.55 kB / 408.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.553e-06/0.2725, allocations: 0 / 408.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.03476/0.3073, allocations: 5.742 MB / 414.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.3075, allocations: 156.8 kB / 414.4 MB, free: 18.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.3078, allocations: 254.6 kB / 414.7 MB, free: 17.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.3078, allocations: 41.7 kB / 414.7 MB, free: 17.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.3079, allocations: 145.5 kB / 414.8 MB, free: 17.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.308, allocations: 197.3 kB / 415 MB, free: 17.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.3084, allocations: 118.6 kB / 415.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.3084, allocations: 346.8 kB / 415.5 MB, free: 16.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.3098, allocations: 0.611 MB / 416.1 MB, free: 16.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.3113, allocations: 0.7967 MB / 416.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.314, allocations: 1.247 MB / 418.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.314, allocations: 4 kB / 418.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003113/0.3171, allocations: 1.398 MB / 419.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3172, allocations: 11.94 kB / 419.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3172, allocations: 4 kB / 419.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3172, allocations: 12 kB / 419.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.3184, allocations: 211.6 kB / 419.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.3185, allocations: 15.92 kB / 419.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.3193, allocations: 103.8 kB / 419.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.3194, allocations: 28 kB / 419.9 MB, free: 12.4 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.0002702/0.3197, allocations: 194.2 kB / 420.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.32, allocations: 157.1 kB / 420.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.3201, allocations: 71.61 kB / 420.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3202, allocations: 12 kB / 420.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.3202, allocations: 0 / 420.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3202, allocations: 3.984 kB / 420.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.3241, allocations: 2.191 MB / 422.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.3241, allocations: 8 kB / 422.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.3248, allocations: 184.4 kB / 422.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.3248, allocations: 20 kB / 422.8 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.3249, allocations: 28 kB / 422.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.3249, allocations: 19.92 kB / 422.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.3249, allocations: 15.94 kB / 422.8 MB, free: 9.305 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.005226/0.3301, allocations: 2.405 MB / 425.2 MB, free: 6.711 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.