Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001564, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 215.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 59.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3391, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.002894/0.342, allocations: 1.609 MB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005172/0.3426, allocations: 179.5 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.3427, allocations: 7.938 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3428, allocations: 15.86 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.3429, allocations: 11.92 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3432, allocations: 51.81 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3433, allocations: 63.84 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3435, allocations: 39.92 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.3435, allocations: 27.86 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.504e-05/0.3436, allocations: 39.83 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.3437, allocations: 4 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.3437, allocations: 8 kB / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.3438, allocations: 23.92 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.3438, allocations: 43.67 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.344, allocations: 87.64 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.344, allocations: 3.938 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.344, allocations: 4 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.344, allocations: 0 / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005814/0.3446, allocations: 412.1 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3446, allocations: 8.031 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.3447, allocations: 12.75 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3449, allocations: 208 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3449, allocations: 8.375 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.345, allocations: 4.375 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.3454, allocations: 210.2 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3454, allocations: 4.125 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3454, allocations: 11.92 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3455, allocations: 4 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3456, allocations: 55.97 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.3461, allocations: 377.9 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.3463, allocations: 131.8 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3464, allocations: 74.61 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3465, allocations: 4 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.3465, allocations: 38.48 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.3465, allocations: 0 / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004503/0.347, allocations: 169.3 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3471, allocations: 102.8 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3472, allocations: 165.3 kB / 414.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3472, allocations: 25.7 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.3473, allocations: 100.6 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.3473, allocations: 7.984 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.3474, allocations: 37.95 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3475, allocations: 318.8 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.3476, allocations: 19.92 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.3477, allocations: 81.42 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3479, allocations: 121.2 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3479, allocations: 4 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002146/0.3481, allocations: 129.4 kB / 414.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3481, allocations: 4 kB / 414.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3481, allocations: 4 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3482, allocations: 4 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3483, allocations: 23.92 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3483, allocations: 4 kB / 415 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.3484, allocations: 15.83 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3484, allocations: 8 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (integerConstant.y,sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],sample2.y,sample1.y,sample1.u,hold1.u,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001281/0.3485, allocations: 153 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.3486, allocations: 11.89 kB / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.3486, allocations: 16.72 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3486, allocations: 0 / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3486, allocations: 4 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.3487, allocations: 112.8 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3488, allocations: 0 / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3489, allocations: 4 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.3489, allocations: 7.938 kB / 415.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003396/0.3493, allocations: 367.3 kB / 415.6 MB, free: 11.5 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) sum2.y hold1.u hold1.y sample2.y sum1.u[2] sum1.y sum2.u[2] sum2.y := sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] := sum1.y sum1.y := sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] := sample2.y sample2.y := $getPart(hold1.y) hold1.y := $getPart(hold1.u) hold1.u := sum2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: sum2.y hold1.u hold1.y sample2.y sum1.u[2] sum1.y sum2.u[2] equations: sum2.y := sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] := sum1.y sum1.y := sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] := sample2.y sample2.y := $getPart(hold1.y) hold1.y := $getPart(hold1.u) hold1.u := sum2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module SymbolicJacobian.symbolicJacobianDAE failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005849/0.3499, allocations: 0.506 MB / 416.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001043/0.35, allocations: 43.97 kB / 416.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.199e-05/0.3501, allocations: 122.3 kB / 416.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.3501, allocations: 4 kB / 416.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005567/0.3506, allocations: 118.2 kB / 416.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006714/0.3513, allocations: 0.6732 MB / 417.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of Templates: time 0.003693/0.355, allocations: 0.9367 MB / 418 MB, free: 9.039 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1)