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.001268/0.001268, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.89 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4391, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001624/0.4408, allocations: 0.4934 MB / 0.5315 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000884/0.4417, allocations: 369.7 kB / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.4417, allocations: 0 / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.4418, allocations: 0 / 0.5318 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.4418, allocations: 3.938 kB / 0.5318 GB, free: 12.95 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.0009432/0.4427, allocations: 202.8 kB / 0.532 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.4428, allocations: 5.188 kB / 0.532 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.4429, allocations: 5.75 kB / 0.532 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.4429, allocations: 1.312 kB / 0.532 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.303e-05/0.4429, allocations: 0 / 0.532 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.662e-06/0.4429, allocations: 0 / 0.532 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.4434, allocations: 197.1 kB / 0.5322 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.4434, allocations: 1.375 kB / 0.5322 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.4434, allocations: 0 / 0.5322 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.4437, allocations: 146.2 kB / 0.5323 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4437, allocations: 0 / 0.5323 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4437, allocations: 7.938 kB / 0.5324 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4437, allocations: 0 / 0.5324 GB, free: 12.62 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.0003949/0.4441, allocations: 368 kB / 0.5327 GB, free: 12.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4442, allocations: 8.75 kB / 0.5327 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.4442, allocations: 1.906 kB / 0.5327 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.209e-05/0.4443, allocations: 160.4 kB / 0.5329 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4443, allocations: 1.594 kB / 0.5329 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.4443, allocations: 5.594 kB / 0.5329 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.4444, allocations: 28.73 kB / 0.5329 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4444, allocations: 8.172 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4445, allocations: 3.938 kB / 0.5329 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.4445, allocations: 5 kB / 0.5329 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.4445, allocations: 1.25 kB / 0.5329 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.4446, allocations: 142.9 kB / 0.5331 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.4447, allocations: 20.77 kB / 0.5331 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.4447, allocations: 6.078 kB / 0.5331 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.4447, allocations: 8 kB / 0.5331 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.4448, allocations: 61.5 kB / 0.5331 GB, free: 11.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.4448, allocations: 0 / 0.5331 GB, free: 11.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.445, allocations: 67.64 kB / 0.5332 GB, free: 11.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.445, allocations: 81.05 kB / 0.5333 GB, free: 11.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.4451, allocations: 91.14 kB / 0.5334 GB, free: 11.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4451, allocations: 25.7 kB / 0.5334 GB, free: 11.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.4451, allocations: 80.14 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.4452, allocations: 9.625 kB / 0.5335 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.4452, allocations: 14.73 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4454, allocations: 316 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.4454, allocations: 1.312 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.4454, allocations: 1.25 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.4455, allocations: 58.92 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4455, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.813e-05/0.4456, allocations: 71.2 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.4456, allocations: 35.08 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4456, allocations: 0 / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4457, allocations: 5.156 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.4457, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4457, allocations: 0 / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.4457, allocations: 1.375 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4457, allocations: 0 / 0.534 GB, free: 10.76 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.526e-05/0.4458, allocations: 142.7 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.4458, allocations: 4.031 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.157e-05/0.4458, allocations: 12.89 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4458, allocations: 0 / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4458, allocations: 0 / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4459, allocations: 0 / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.568e-05/0.446, allocations: 151.5 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.446, allocations: 4 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.446, allocations: 1.719 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.446, allocations: 0 / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.446, allocations: 7.922 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.446, allocations: 5.734 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.446, allocations: 4 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.838e-05/0.4461, allocations: 89.66 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.4461, allocations: 85.03 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.4462, allocations: 5.906 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.4462, allocations: 0 / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.4462, allocations: 1.844 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-06/0.4462, allocations: 0 / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.798e-05/0.4462, allocations: 79.31 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4462, allocations: 0 / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.4465, allocations: 52.44 kB / 0.5346 GB, free: 10.09 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.0004662/0.447, allocations: 180.8 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.628e-05/0.4471, allocations: 56.91 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4471, allocations: 0 / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.4471, allocations: 61.98 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.4473, allocations: 6.344 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.4475, allocations: 75.88 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.4477, allocations: 0.6703 MB / 0.5356 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.335e-06/0.4477, allocations: 4 kB / 0.5356 GB, free: 9.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.066e-05/0.4477, allocations: 8.812 kB / 0.5356 GB, free: 9.027 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4477, allocations: 0 / 0.5356 GB, free: 9.027 MB / 398.1 MB Notification: Performance of Templates: time 0.004598/0.4524, allocations: 1.519 MB / 0.5371 GB, free: 8.234 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