Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 115.5 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.001855/0.001856, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3008, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001528/0.3023, allocations: 0.4891 MB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.3031, allocations: 365.9 kB / 0.5325 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.3032, allocations: 0 / 0.5325 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.3032, allocations: 0 / 0.5325 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.094e-06/0.3032, allocations: 0 / 0.5325 GB, free: 12.99 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.3039, allocations: 207.2 kB / 0.5327 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.304, allocations: 14.78 kB / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.988e-05/0.304, allocations: 0 / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.061e-05/0.304, allocations: 0 / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.3041, allocations: 3.812 kB / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.94e-06/0.3041, allocations: 0 / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.3044, allocations: 198.1 kB / 0.5329 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.3044, allocations: 1.375 kB / 0.5329 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.3044, allocations: 0 / 0.5329 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3047, allocations: 141 kB / 0.533 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3047, allocations: 1.281 kB / 0.533 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3047, allocations: 0 / 0.533 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.3047, allocations: 3.938 kB / 0.533 GB, free: 12.66 MB / 398.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.000431/0.3051, allocations: 367.9 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3052, allocations: 8.719 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3052, allocations: 4.938 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3053, allocations: 165.3 kB / 0.5335 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3054, allocations: 384 / 0.5335 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.3054, allocations: 1.344 kB / 0.5335 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.236e-05/0.3054, allocations: 29.05 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3055, allocations: 192 / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.3055, allocations: 5.281 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3055, allocations: 0 / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.3055, allocations: 1.375 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.3056, allocations: 150.7 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.3057, allocations: 24.05 kB / 0.5337 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.3057, allocations: 6.453 kB / 0.5337 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.3057, allocations: 0 / 0.5337 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.3057, allocations: 57.58 kB / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3058, allocations: 0.875 kB / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.3059, allocations: 71.06 kB / 0.5339 GB, free: 11.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.306, allocations: 85.17 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.383e-05/0.306, allocations: 94.64 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.306, allocations: 25.7 kB / 0.5341 GB, free: 11.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.306, allocations: 81.23 kB / 0.5341 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.3061, allocations: 0 / 0.5341 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.3061, allocations: 12.56 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3062, allocations: 314.8 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.3062, allocations: 5.375 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.3062, allocations: 5.406 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.3063, allocations: 63.42 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3063, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.568e-05/0.3064, allocations: 58.16 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.3064, allocations: 39.12 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3064, allocations: 5.125 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3064, allocations: 3.938 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.3064, allocations: 0 / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.3064, allocations: 1.094 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.3065, allocations: 8.094 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3065, allocations: 1.062 kB / 0.5346 GB, free: 10.79 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.191e-05/0.3066, allocations: 142.2 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.3066, allocations: 1.438 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-06/0.3066, allocations: 3.125 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3066, allocations: 3.938 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.3066, allocations: 0 / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.3066, allocations: 82.47 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.3067, allocations: 5.281 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.3067, allocations: 4 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.3067, allocations: 1.156 kB / 0.5349 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001266/0.3068, allocations: 191.2 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001367/0.307, allocations: 239.7 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.835e-05/0.307, allocations: 9.297 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.637e-05/0.307, allocations: 84.64 kB / 0.5354 GB, free: 9.988 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.307, allocations: 0 / 0.5354 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.3076, allocations: 216.9 kB / 0.5356 GB, free: 9.828 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003223/0.308, allocations: 0.5784 MB / 0.5361 GB, free: 9.195 MB / 398.1 MB Notification: Performance of Templates: time 0.003859/0.3118, allocations: 1.544 MB / 0.5376 GB, free: 8.387 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches