Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample1.y|sample2.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample1.y|sample2.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001297, allocations: 175.2 kB / 16.77 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205 MB / 222.6 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000772/0.0007721, allocations: 102.7 kB / 270.5 MB, free: 8.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06573/0.06573, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 12.28 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07853/0.07898, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2): time 0.001558/0.08057, allocations: 1.317 MB / 443 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.08095, allocations: 163.5 kB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.08105, allocations: 7.938 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.08111, allocations: 3.984 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.08123, allocations: 3.938 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.08149, allocations: 43.89 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.08159, allocations: 59.84 kB / 443.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.08171, allocations: 32.5 kB / 443.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.08175, allocations: 11.94 kB / 443.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.08179, allocations: 35.77 kB / 443.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.08182, allocations: 4 kB / 443.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.08184, allocations: 0 / 443.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.08189, allocations: 11.92 kB / 443.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.08193, allocations: 27.81 kB / 443.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.08203, allocations: 71.64 kB / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.08204, allocations: 4 kB / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.08205, allocations: 0 / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.08206, allocations: 0 / 443.5 MB, free: 14.59 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003693/0.08244, allocations: 367.1 kB / 443.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.08249, allocations: 19.95 kB / 443.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.08253, allocations: 8.844 kB / 443.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.08268, allocations: 193.1 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.08271, allocations: 4.375 kB / 444.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.08273, allocations: 8.375 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.08307, allocations: 196.1 kB / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.08309, allocations: 192 / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.08311, allocations: 7.938 kB / 444.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.08312, allocations: 4 kB / 444.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.08322, allocations: 43.92 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.08357, allocations: 365.8 kB / 444.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.08373, allocations: 123.8 kB / 444.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.08382, allocations: 58.62 kB / 444.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.08385, allocations: 7.984 kB / 444.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.08387, allocations: 42.5 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.08388, allocations: 0 / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002861/0.08417, allocations: 129.4 kB / 445 MB, free: 12.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.08421, allocations: 110.8 kB / 445.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.0843, allocations: 137.8 kB / 445.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.08431, allocations: 29.95 kB / 445.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.08435, allocations: 88.42 kB / 445.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.08437, allocations: 11.89 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.0844, allocations: 21.72 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.08445, allocations: 318.8 kB / 445.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.0845, allocations: 19.92 kB / 445.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.08457, allocations: 89.44 kB / 445.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.08468, allocations: 109.2 kB / 446 MB, free: 11.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.08469, allocations: 3.938 kB / 446 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000158/0.08486, allocations: 113.4 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.08488, allocations: 10.66 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.08489, allocations: 4 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.08491, allocations: 0 / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/0.08494, allocations: 12.28 kB / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.08495, allocations: 11.98 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.08501, allocations: 4 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.08503, allocations: 8 kB / 446.1 MB, free: 11.61 MB / 298.7 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 (xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,sample1.y,step.y,hold.u,hold.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 7.355e-05/0.08511, allocations: 130.6 kB / 446.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.08516, allocations: 8.281 kB / 446.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.0852, allocations: 20.7 kB / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.08521, allocations: 0 / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.08521, allocations: 4 kB / 446.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.08526, allocations: 108.8 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.08529, allocations: 8 kB / 446.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.08538, allocations: 7.984 kB / 446.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.08542, allocations: 7.938 kB / 446.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001921/0.08562, allocations: 347.4 kB / 446.7 MB, free: 10.95 MB / 298.7 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.) xor1.u2 xor.y xor.u2 sample2.y hold.y hold.u xor1.y xor1.y := not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold.u := xor1.y hold.y := $getPart(hold.u) sample2.y := $getPart(hold.y) xor.u2 := sample2.y xor.y := not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 := xor.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor1.u2 xor.y xor.u2 sample2.y hold.y hold.u xor1.y equations: xor1.y := not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold.u := xor1.y hold.y := $getPart(hold.u) sample2.y := $getPart(hold.y) xor.u2 := sample2.y xor.y := not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 := xor.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003049/0.08594, allocations: 478.1 kB / 447.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.888e-05/0.08601, allocations: 35.98 kB / 447.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.08606, allocations: 103.2 kB / 447.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of Backend: time 4.71e-07/0.08607, allocations: 4 kB / 447.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.08652, allocations: 110.7 kB / 447.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004011/0.08693, allocations: 0.6647 MB / 448.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of Templates: time 0.002343/0.08929, allocations: 0.716 MB / 448.8 MB, free: 8.777 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1)