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.00113/0.00113, allocations: 117.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 212.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.41, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001637/0.4116, allocations: 494.9 kB / 0.5315 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000846/0.4125, allocations: 364.9 kB / 0.5318 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.4125, allocations: 0 / 0.5318 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.4126, allocations: 3.938 kB / 0.5318 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.852e-06/0.4126, allocations: 1.844 kB / 0.5318 GB, free: 12.98 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.0007336/0.4133, allocations: 197.9 kB / 0.532 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.4134, allocations: 11.22 kB / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.4134, allocations: 3.938 kB / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.205e-05/0.4134, allocations: 0 / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.017e-05/0.4135, allocations: 3 kB / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.4135, allocations: 0 / 0.532 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.4138, allocations: 191.2 kB / 0.5322 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.4138, allocations: 1.375 kB / 0.5322 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.4139, allocations: 0 / 0.5322 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.4141, allocations: 149.5 kB / 0.5323 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4141, allocations: 0 / 0.5323 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4141, allocations: 0 / 0.5323 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4141, allocations: 9.312 kB / 0.5323 GB, free: 12.65 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.0003911/0.4145, allocations: 363 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.4146, allocations: 9.625 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.4146, allocations: 0.9375 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.934e-05/0.4147, allocations: 161.8 kB / 0.5329 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.4147, allocations: 384 / 0.5329 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.4147, allocations: 1.75 kB / 0.5329 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.941e-05/0.4148, allocations: 31.62 kB / 0.5329 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4148, allocations: 5.5 kB / 0.5329 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4148, allocations: 7.938 kB / 0.5329 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.4148, allocations: 0 / 0.5329 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.4149, allocations: 1.375 kB / 0.5329 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.415, allocations: 147.1 kB / 0.533 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.4151, allocations: 21.31 kB / 0.5331 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.4151, allocations: 6.234 kB / 0.5331 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.4151, allocations: 0 / 0.5331 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.4152, allocations: 65.64 kB / 0.5331 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.4152, allocations: 0 / 0.5331 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.4153, allocations: 70.16 kB / 0.5332 GB, free: 11.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4154, allocations: 82.47 kB / 0.5333 GB, free: 11.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.836e-05/0.4154, allocations: 89.86 kB / 0.5334 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4155, allocations: 27.08 kB / 0.5334 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.4155, allocations: 80.14 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.4155, allocations: 0 / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.4155, allocations: 16.59 kB / 0.5335 GB, free: 11.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4157, allocations: 316.2 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.4157, allocations: 7.875 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.4157, allocations: 1.375 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.4158, allocations: 62.95 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4158, allocations: 1.375 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.737e-05/0.4158, allocations: 62.27 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.4159, allocations: 35.3 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4159, allocations: 0 / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4159, allocations: 3.938 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4159, allocations: 1.375 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4159, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.4159, allocations: 1.375 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.416, allocations: 0 / 0.534 GB, free: 10.8 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 9.161e-05/0.416, allocations: 150.2 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.4161, allocations: 0 / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.007e-06/0.4161, allocations: 12.44 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.4161, allocations: 0 / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4161, allocations: 0 / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4161, allocations: 1.375 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.06e-05/0.4162, allocations: 151 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4162, allocations: 0 / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.4162, allocations: 0 / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4162, allocations: 1.375 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4162, allocations: 3.938 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4162, allocations: 5.312 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4162, allocations: 0 / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.435e-05/0.4163, allocations: 93.48 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.4164, allocations: 82.58 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.4164, allocations: 3.938 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.4164, allocations: 2.094 kB / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.4164, allocations: 0 / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.4164, allocations: 0 / 0.5344 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.4165, allocations: 76.78 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4165, allocations: 4.031 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.4168, allocations: 55.7 kB / 0.5346 GB, free: 10.13 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003748/0.4171, allocations: 191.4 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.4173, allocations: 68.86 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4173, allocations: 0 / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.4173, allocations: 59.09 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.4174, allocations: 1.906 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.4176, allocations: 80.73 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4179, allocations: 0.6742 MB / 0.5356 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.229e-06/0.4179, allocations: 0 / 0.5356 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.138e-05/0.4179, allocations: 9.562 kB / 0.5356 GB, free: 9.051 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4179, allocations: 0 / 0.5356 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Templates: time 0.004267/0.4222, allocations: 1.518 MB / 0.5371 GB, free: 8.262 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches