Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, 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.438/1.438, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009928/0.0009926, allocations: 105.4 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 51.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2522, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004562/0.2568, allocations: 2.268 MB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2585, allocations: 0.6082 MB / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.2587, allocations: 0 / 409.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.2589, allocations: 23.8 kB / 409.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.2592, allocations: 51.62 kB / 410 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2596, allocations: 67.88 kB / 410.1 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.26, allocations: 271 kB / 410.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2602, allocations: 60.94 kB / 410.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.2605, allocations: 111.4 kB / 410.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.2608, allocations: 143.2 kB / 410.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.2609, allocations: 12 kB / 410.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.2609, allocations: 16 kB / 410.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/0.2611, allocations: 59.69 kB / 410.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.2613, allocations: 115.1 kB / 410.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.2616, allocations: 248.5 kB / 411.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2616, allocations: 0 / 411.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2616, allocations: 0 / 411.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2616, allocations: 0 / 411.1 MB, free: 23.75 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001657/0.2633, allocations: 0.6114 MB / 411.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.2634, allocations: 8.031 kB / 411.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.2635, allocations: 32.56 kB / 411.7 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.264, allocations: 316.3 kB / 412 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.264, allocations: 16.41 kB / 412.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.2641, allocations: 19.89 kB / 412.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.2649, allocations: 373.5 kB / 412.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2649, allocations: 0 / 412.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.265, allocations: 8 kB / 412.4 MB, free: 22.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.265, allocations: 4 kB / 412.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.2653, allocations: 91.94 kB / 412.5 MB, free: 22.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.2661, allocations: 0.5364 MB / 413.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.2671, allocations: 316.1 kB / 413.4 MB, free: 21.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.2674, allocations: 145.8 kB / 413.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.2675, allocations: 7.938 kB / 413.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2675, allocations: 42.56 kB / 413.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.2676, allocations: 0 / 413.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.003068/0.2706, allocations: 1.327 MB / 414.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.2708, allocations: 139.3 kB / 415 MB, free: 19.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.2712, allocations: 332.5 kB / 415.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2713, allocations: 29.7 kB / 415.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.2714, allocations: 141.1 kB / 415.5 MB, free: 18.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.2714, allocations: 51.52 kB / 415.6 MB, free: 18.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2716, allocations: 70.14 kB / 415.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.2716, allocations: 350.8 kB / 416 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2719, allocations: 68.83 kB / 416.1 MB, free: 18.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.2722, allocations: 318.8 kB / 416.4 MB, free: 17.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.2727, allocations: 417 kB / 416.8 MB, free: 17.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.2727, allocations: 3.938 kB / 416.8 MB, free: 17.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008875/0.2736, allocations: 401.4 kB / 417.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2737, allocations: 8 kB / 417.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.2737, allocations: 12.12 kB / 417.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.2738, allocations: 12 kB / 417.2 MB, free: 17.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.2742, allocations: 103.8 kB / 417.3 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.2742, allocations: 11.98 kB / 417.3 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.2747, allocations: 27.84 kB / 417.3 MB, free: 16.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.2747, allocations: 23.94 kB / 417.4 MB, free: 16.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001971/0.2749, allocations: 171.1 kB / 417.5 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007035/0.2756, allocations: 296.5 kB / 417.8 MB, free: 16.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008879/0.2765, allocations: 379.2 kB / 418.2 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2766, allocations: 4 kB / 418.2 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2766, allocations: 0 / 418.2 MB, free: 16.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2766, allocations: 7.984 kB / 418.2 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.2771, allocations: 325.2 kB / 418.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.2772, allocations: 0 / 418.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.2781, allocations: 127.8 kB / 418.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2781, allocations: 7.938 kB / 418.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.2782, allocations: 8 kB / 418.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.2782, allocations: 7.938 kB / 418.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2782, allocations: 4.047 kB / 418.7 MB, free: 15.48 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 "invMixingUnit.T = (if firstTick() then 0.0 else previous($DER.invMixingUnit.T)) * interval() + previous(invMixingUnit.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.00253/0.2808, allocations: 1.213 MB / 419.9 MB, free: 14.21 MB / 298.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.