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.001175/0.001175, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, 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.2181/0.2181, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001565, allocations: 71.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3698, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001666/0.3715, allocations: 0.4894 MB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3725, allocations: 369 kB / 0.5325 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.3725, allocations: 1.75 kB / 0.5325 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.3726, allocations: 0 / 0.5325 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.129e-05/0.3726, allocations: 0 / 0.5325 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.0009176/0.3735, allocations: 198.8 kB / 0.5327 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.3736, allocations: 9.219 kB / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.3736, allocations: 5.344 kB / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.3737, allocations: 4 kB / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.24e-05/0.3737, allocations: 1.625 kB / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.3737, allocations: 0 / 0.5327 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.3741, allocations: 189.2 kB / 0.5329 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.3742, allocations: 0 / 0.5329 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.3742, allocations: 5.359 kB / 0.5329 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3745, allocations: 144.1 kB / 0.533 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3745, allocations: 1.375 kB / 0.533 GB, free: 12.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.908e-06/0.3745, allocations: 0 / 0.533 GB, free: 12.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3745, 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.0003777/0.3749, allocations: 364.4 kB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3749, allocations: 12.23 kB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.375, allocations: 6.312 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.3751, allocations: 160.4 kB / 0.5335 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3751, allocations: 1.75 kB / 0.5335 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.3751, allocations: 384 / 0.5335 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/0.3752, allocations: 29.02 kB / 0.5336 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3752, allocations: 4.125 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3752, allocations: 5.312 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3752, allocations: 0 / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.3753, allocations: 5.375 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.3754, allocations: 147 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.3755, allocations: 19.95 kB / 0.5337 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.3755, allocations: 6.234 kB / 0.5337 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.3755, allocations: 0 / 0.5337 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.3755, allocations: 57.64 kB / 0.5338 GB, free: 11.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.3755, allocations: 5.375 kB / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001762/0.3757, allocations: 70.14 kB / 0.5339 GB, free: 11.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3758, allocations: 78.48 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.279e-05/0.3758, allocations: 93.86 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3758, allocations: 29.64 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.3759, allocations: 81.52 kB / 0.5341 GB, free: 11.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.3759, allocations: 0 / 0.5341 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.3759, allocations: 12.47 kB / 0.5341 GB, free: 11.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.376, allocations: 315 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.3761, allocations: 9.297 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-06/0.3761, allocations: 1.375 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.3761, allocations: 66.95 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3761, allocations: 0 / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.873e-05/0.3762, allocations: 58.28 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.3763, allocations: 35.19 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3763, allocations: 1.375 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3763, allocations: 8.031 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.3763, allocations: 0 / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3763, allocations: 1.375 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.3763, allocations: 0 / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3763, allocations: 1.375 kB / 0.5346 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.331e-05/0.3764, allocations: 140.9 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.3765, allocations: 1.375 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.324e-05/0.3765, allocations: 11.06 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3765, allocations: 1.375 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3765, allocations: 4 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3765, allocations: 0 / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.944e-05/0.3766, allocations: 155 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3766, allocations: 1.375 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3766, allocations: 0 / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3766, allocations: 0 / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3766, allocations: 5.312 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3766, allocations: 3.938 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3766, allocations: 1.375 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.938e-05/0.3767, allocations: 93.83 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.3768, allocations: 81.02 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3768, allocations: 5.312 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-06/0.3768, allocations: 0 / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.3768, allocations: 5.359 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3768, allocations: 1.375 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.518e-05/0.3769, allocations: 75.28 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3769, allocations: 0 / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.3772, allocations: 51.09 kB / 0.5352 GB, free: 10.14 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.0004073/0.3776, allocations: 201.4 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3777, allocations: 60.38 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3777, allocations: 0 / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.3778, allocations: 59.03 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.3779, allocations: 2.219 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.3781, allocations: 109.6 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3783, allocations: 0.6704 MB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.3783, allocations: 8.719 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3783, allocations: 0 / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of Templates: time 0.003257/0.3816, allocations: 1.486 MB / 0.5378 GB, free: 8.285 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