Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 196 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 95.38 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.414e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 51.47 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3211/0.4527, allocations: 77.22 MB / 472.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4529, allocations: 79.28 kB / 472.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003222/0.4561, allocations: 1.449 MB / 474 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4562, allocations: 0.6562 kB / 474 MB, free: 12.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.4562, allocations: 0 / 474 MB, free: 12.98 MB / 346.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.0002674/0.4564, allocations: 354 kB / 474.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4565, allocations: 8.031 kB / 474.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.4565, allocations: 20.22 kB / 474.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.4567, allocations: 191.9 kB / 474.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4567, allocations: 8.859 kB / 474.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4568, allocations: 5.969 kB / 474.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.148e-05/0.4568, allocations: 34.08 kB / 474.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.4571, allocations: 164.5 kB / 474.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4571, allocations: 4 kB / 474.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4571, allocations: 0.5625 kB / 474.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4572, allocations: 7.984 kB / 474.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.4575, allocations: 344.5 kB / 475.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4576, allocations: 104.5 kB / 475.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.4577, allocations: 50.38 kB / 475.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.4577, allocations: 4.703 kB / 475.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.4577, allocations: 34.86 kB / 475.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.4577, allocations: 4 kB / 475.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.000197/0.4579, allocations: 91.5 kB / 475.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.458, allocations: 110.8 kB / 475.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.4581, allocations: 127 kB / 475.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.4581, allocations: 26.41 kB / 475.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.4581, allocations: 84.48 kB / 475.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.4581, allocations: 12.94 kB / 475.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4581, allocations: 4.062 kB / 475.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.4582, allocations: 320.6 kB / 476.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.4582, allocations: 7.75 kB / 476.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.4583, allocations: 75.69 kB / 476.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.4583, allocations: 25.66 kB / 476.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4583, allocations: 4 kB / 476.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001139/0.4584, allocations: 98.62 kB / 476.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4584, allocations: 8 kB / 476.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4585, allocations: 0.5625 kB / 476.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4585, allocations: 4 kB / 476.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.4585, allocations: 5.312 kB / 476.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4585, allocations: 8.688 kB / 476.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.4586, allocations: 9.047 kB / 476.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4586, allocations: 4 kB / 476.3 MB, free: 10.62 MB / 346.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 (sample1.u,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,hold1.u,hold1.y,sample1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.4586, allocations: 112.1 kB / 476.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001367/0.4588, allocations: 98.53 kB / 476.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4588, allocations: 7.906 kB / 476.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.4589, allocations: 16.56 kB / 476.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4589, allocations: 0 / 476.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4589, allocations: 4 kB / 476.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4589, allocations: 4.812 kB / 476.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.4591, allocations: 153.6 kB / 476.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4591, allocations: 7.953 kB / 476.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.4591, allocations: 1.312 kB / 476.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.4591, allocations: 7.062 kB / 476.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.4591, allocations: 0.7031 kB / 476.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4591, allocations: 0 / 476.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4591, allocations: 7.938 kB / 476.7 MB, free: 10.23 MB / 346.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7358:5-7358: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 symbolicJacobian (simulation): time 0.0002654/0.4594, allocations: 347 kB / 477.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4595, allocations: 93.47 kB / 477.2 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4595, allocations: 4 kB / 477.2 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.4596, allocations: 5.453 kB / 477.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.4596, allocations: 5.781 kB / 477.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.4596, allocations: 4.875 kB / 477.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.178e-05/0.4597, allocations: 107.1 kB / 477.3 MB, free: 9.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4597, allocations: 0 / 477.3 MB, free: 9.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.46, allocations: 8 kB / 477.3 MB, free: 9.688 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (sample1.u,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold1.y hold1.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.y) xor.u2 = sample2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7358:5-7358:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1765:3-1765:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/0.4603, allocations: 0.6582 MB / 478 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.4604, allocations: 55.5 kB / 478 MB, free: 9.008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4604, allocations: 0 / 478 MB, free: 9.008 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.4604, allocations: 4 kB / 478 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.4607, allocations: 51.05 kB / 478.1 MB, free: 8.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.4611, allocations: 131.1 kB / 478.2 MB, free: 8.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.4613, allocations: 0.7176 MB / 478.9 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.016e-05/0.4613, allocations: 6.406 kB / 478.9 MB, free: 8.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.4614, allocations: 20.94 kB / 478.9 MB, free: 8.098 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4614, allocations: 0 / 478.9 MB, free: 8.098 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.481, allocations: 1.38 MB / 480.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.4812, allocations: 149.3 kB / 480.5 MB, free: 7.125 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.06, allocations: 0 / 480.5 MB, free: 7.125 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat does not exist to compare? outputFormat=mat