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.001061/0.001061, allocations: 114.3 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.001096/0.001096, allocations: 210.8 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.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3029, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.002883/0.3058, allocations: 1.609 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004806/0.3063, allocations: 183.3 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.3064, allocations: 0 / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.3065, allocations: 15.86 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3067, allocations: 15.88 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3069, allocations: 55.81 kB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3071, allocations: 59.84 kB / 411.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3072, allocations: 39.97 kB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.3073, allocations: 27.86 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.3074, allocations: 35.84 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3074, allocations: 8 kB / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.3074, allocations: 4 kB / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.3075, allocations: 23.91 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.3075, allocations: 43.67 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3077, allocations: 91.58 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3077, allocations: 0 / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3077, allocations: 0 / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3077, allocations: 4 kB / 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.0005389/0.3083, allocations: 416.1 kB / 412.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3083, allocations: 8.031 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.3083, allocations: 16.75 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3086, allocations: 204 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3086, allocations: 8.375 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3086, allocations: 4.375 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.309, allocations: 209 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3091, allocations: 192 / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3091, allocations: 11.88 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3091, allocations: 0 / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.3092, allocations: 63.89 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.3097, allocations: 381.9 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3099, allocations: 131.8 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.31, allocations: 74.67 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3101, allocations: 4 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3101, allocations: 34.56 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.3101, allocations: 0 / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004064/0.3105, allocations: 169.3 kB / 413.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3106, allocations: 106.8 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3107, allocations: 155.7 kB / 414.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3108, allocations: 29.7 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.3108, allocations: 104.2 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.3108, allocations: 7.984 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.3109, allocations: 29.72 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.311, allocations: 327.1 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.3111, allocations: 15.98 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.3112, allocations: 85.42 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3113, allocations: 113.3 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3114, allocations: 0 / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002168/0.3116, allocations: 133.5 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3116, allocations: 8 kB / 414.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3116, allocations: 0 / 414.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3116, allocations: 4.375 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3118, allocations: 31.92 kB / 415 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3118, allocations: 7.984 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.3118, allocations: 19.83 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3119, allocations: 7.938 kB / 415 MB, free: 12.19 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.0001091/0.312, allocations: 141.8 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.312, allocations: 15.89 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.3121, allocations: 16.72 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3121, allocations: 3.984 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3121, allocations: 0 / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.3122, allocations: 104.8 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3122, allocations: 15.92 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3123, allocations: 0 / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3124, allocations: 11.94 kB / 415.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003281/0.3127, allocations: 363.3 kB / 415.7 MB, free: 11.49 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.0004339/0.3132, allocations: 0.5021 MB / 416.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.698e-05/0.3133, allocations: 43.91 kB / 416.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.36e-05/0.3134, allocations: 122.3 kB / 416.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.3134, allocations: 0 / 416.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005538/0.3139, allocations: 122.3 kB / 416.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006432/0.3146, allocations: 0.6589 MB / 417.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of Templates: time 0.003345/0.3179, allocations: 0.9477 MB / 418 MB, free: 9.031 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)