Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009233, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3235/0.3235, allocations: 40 MB / 310.4 MB, free: 9.93 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005756/0.0005756, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006492/0.1054, allocations: 220.4 kB / 437 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007112/0.1062, allocations: 323.3 kB / 437.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.28e-05/0.1062, allocations: 4 kB / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.1062, allocations: 0 / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.673e-06/0.1062, allocations: 3.938 kB / 437.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.1068, allocations: 135.7 kB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 2.355e-05/0.1068, allocations: 4 kB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.1069, allocations: 0 / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.061e-05/0.1069, allocations: 0 / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.1069, allocations: 4 kB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-06/0.1069, allocations: 0 / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1072, allocations: 131.8 kB / 437.6 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-06/0.1072, allocations: 0 / 437.6 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.1072, allocations: 25.7 kB / 437.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1075, allocations: 103.8 kB / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1075, allocations: 0 / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1075, allocations: 4 kB / 437.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1075, allocations: 4 kB / 437.7 MB, free: 1.637 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003798/0.1079, allocations: 353.1 kB / 438 MB, free: 1.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1079, allocations: 12.02 kB / 438.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.1079, allocations: 3.953 kB / 438.1 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/0.108, allocations: 159.1 kB / 438.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1081, allocations: 0 / 438.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1081, allocations: 4 kB / 438.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/0.1082, allocations: 33.64 kB / 438.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1082, allocations: 4 kB / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1082, allocations: 0 / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1082, allocations: 0 / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.1082, allocations: 7.953 kB / 438.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.1084, allocations: 145.7 kB / 438.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.429e-05/0.1084, allocations: 26.53 kB / 438.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-06/0.1084, allocations: 0 / 438.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.1085, allocations: 64.27 kB / 438.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1085, allocations: 0 / 438.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.1087, allocations: 75.28 kB / 438.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.1087, allocations: 77.11 kB / 438.6 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.1088, allocations: 93.8 kB / 438.7 MB, free: 396 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1088, allocations: 25.7 kB / 438.8 MB, free: 364 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.1088, allocations: 80.14 kB / 438.8 MB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1089, allocations: 4 kB / 438.8 MB, free: 276 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-06/0.1089, allocations: 0 / 438.8 MB, free: 276 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.109, allocations: 322.9 kB / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.109, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.109, allocations: 0 / 439.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.1091, allocations: 29.7 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1091, allocations: 0 / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.591e-05/0.1091, allocations: 67.33 kB / 439.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.1092, allocations: 29.7 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1092, allocations: 0 / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1092, allocations: 0 / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.1092, allocations: 4.094 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1092, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.1092, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1093, allocations: 0 / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.51e-05/0.1094, allocations: 143.5 kB / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.1094, allocations: 4 kB / 439.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.104e-05/0.1094, allocations: 3.125 kB / 439.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1094, allocations: 0 / 439.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1094, allocations: 0 / 439.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1094, allocations: 4 kB / 439.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.634e-05/0.1095, allocations: 153.6 kB / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1095, allocations: 0 / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-06/0.1095, allocations: 4 kB / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1095, allocations: 0 / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1095, allocations: 0 / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1095, allocations: 0 / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1096, allocations: 0 / 439.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.473e-05/0.1097, allocations: 102.7 kB / 439.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1097, allocations: 77.11 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1097, allocations: 0 / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-06/0.1097, allocations: 0 / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.1097, allocations: 4 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1098, allocations: 7.875 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.287e-05/0.1098, allocations: 75.28 kB / 439.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1098, allocations: 0 / 439.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1101, allocations: 55.98 kB / 439.9 MB, free: 15.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003346/0.1104, allocations: 183.2 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.1105, allocations: 55.41 kB / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1106, allocations: 0 / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.1106, allocations: 59.34 kB / 440.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.712e-05/0.1107, allocations: 11.88 kB / 440.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.1108, allocations: 82.89 kB / 440.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1111, allocations: 0.677 MB / 441 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.01e-06/0.1111, allocations: 0 / 441 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-06/0.1111, allocations: 7.438 kB / 441 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1111, allocations: 0 / 441 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.00337/0.1145, allocations: 1.331 MB / 442.3 MB, free: 12.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) Environment - environmentSimulation: