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.00168/0.001681, allocations: 111 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002478/0.002478, allocations: 211.9 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.91/2.91, allocations: 227.4 MB / 247.6 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.4217/0.4217, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002759, allocations: 76.06 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6326, allocations: 62.44 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002375/0.635, allocations: 0.4974 MB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.6364, allocations: 352.6 kB / 0.5325 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.6365, allocations: 0 / 0.5325 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.6365, allocations: 3.938 kB / 0.5325 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.6365, allocations: 5.531 kB / 0.5325 GB, free: 13 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.001349/0.6379, allocations: 197.8 kB / 0.5327 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.638, allocations: 9.359 kB / 0.5327 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.6381, allocations: 1.25 kB / 0.5327 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.6381, allocations: 1.406 kB / 0.5327 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.827e-05/0.6381, allocations: 0 / 0.5327 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-06/0.6382, allocations: 1.125 kB / 0.5327 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.6388, allocations: 192.3 kB / 0.5329 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.6388, allocations: 1.375 kB / 0.5329 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.6388, allocations: 3.938 kB / 0.5329 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.6393, allocations: 149 kB / 0.533 GB, free: 12.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6393, allocations: 7.875 kB / 0.533 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6393, allocations: 0 / 0.533 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.6393, allocations: 0 / 0.533 GB, free: 12.68 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.0005082/0.6398, allocations: 369.1 kB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.6399, allocations: 8.25 kB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.64, allocations: 6.297 kB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.6401, allocations: 160.4 kB / 0.5335 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.6401, allocations: 1.75 kB / 0.5335 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.6401, allocations: 4.375 kB / 0.5335 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.6403, allocations: 29.02 kB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6403, allocations: 192 / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6403, allocations: 3.938 kB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6403, allocations: 1.375 kB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.6403, allocations: 1.375 kB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.6405, allocations: 151 kB / 0.5337 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.6406, allocations: 19.89 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.6406, allocations: 10.23 kB / 0.5338 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.6407, allocations: 0 / 0.5338 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.332e-05/0.6407, allocations: 61.62 kB / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.6408, allocations: 0 / 0.5338 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002648/0.641, allocations: 79.47 kB / 0.5339 GB, free: 11.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.6411, allocations: 78.48 kB / 0.534 GB, free: 11.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.6412, allocations: 89.86 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.6412, allocations: 29.83 kB / 0.5341 GB, free: 11.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.6413, allocations: 80.14 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.6413, allocations: 1.375 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.6414, allocations: 15.03 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6416, allocations: 312.2 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.6416, allocations: 1.375 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.6416, allocations: 3.984 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.6417, allocations: 68.45 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6417, allocations: 0 / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001217/0.6419, allocations: 62.22 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.6419, allocations: 31.2 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.642, allocations: 0 / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.642, allocations: 9.297 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.642, allocations: 0 / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.642, allocations: 0 / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.6421, allocations: 1.375 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.6421, allocations: 1.375 kB / 0.5346 GB, free: 10.82 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 0.0001305/0.6422, allocations: 152.8 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.6422, allocations: 1.375 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.6423, allocations: 7.125 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.6423, allocations: 3.938 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6423, allocations: 1.375 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.6424, allocations: 81.09 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.6424, allocations: 1.375 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.6424, allocations: 1.375 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.6425, allocations: 0 / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002093/0.6427, allocations: 203.6 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002385/0.6429, allocations: 239.5 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.982e-05/0.643, allocations: 1.375 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.6431, allocations: 76.66 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.6431, allocations: 0 / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.6441, allocations: 230.4 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005138/0.6447, allocations: 0.5791 MB / 0.5362 GB, free: 9.211 MB / 398.1 MB Notification: Performance of Templates: time 0.007462/0.6522, allocations: 1.538 MB / 0.5377 GB, free: 8.406 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