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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 218 kB / 24.5 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2005/0.2005, allocations: 46.92 MB / 361.5 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.86 kB / 0.4974 GB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2711, allocations: 66.08 MB / 0.5619 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001538/0.2727, allocations: 489 kB / 0.5624 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007873/0.2735, allocations: 389.2 kB / 0.5628 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.2735, allocations: 0 / 0.5628 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.2735, allocations: 3.938 kB / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.439e-06/0.2735, allocations: 0 / 0.5628 GB, free: 3.383 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.0007496/0.2742, allocations: 203.5 kB / 0.563 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.178e-05/0.2743, allocations: 8 kB / 0.563 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.2743, allocations: 0 / 0.563 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.2743, allocations: 4 kB / 0.563 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.389e-05/0.2743, allocations: 0 / 0.563 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-06/0.2743, allocations: 0 / 0.563 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.2747, allocations: 235.5 kB / 0.5632 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.2747, allocations: 3.984 kB / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.2748, allocations: 0 / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.275, allocations: 150.1 kB / 0.5634 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.275, allocations: 7.938 kB / 0.5634 GB, free: 2.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.275, allocations: 0 / 0.5634 GB, free: 2.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.275, allocations: 0 / 0.5634 GB, free: 2.789 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.0003226/0.2753, allocations: 295.9 kB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.2753, allocations: 15.97 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2754, allocations: 0.9375 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.157e-05/0.2754, allocations: 110.5 kB / 0.5638 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2754, allocations: 384 / 0.5638 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2755, allocations: 4.375 kB / 0.5638 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.2755, allocations: 26.27 kB / 0.5638 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2755, allocations: 192 / 0.5638 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2756, allocations: 3.938 kB / 0.5638 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2756, allocations: 3.984 kB / 0.5638 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.2756, allocations: 4 kB / 0.5638 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.2757, allocations: 116.8 kB / 0.5639 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.328e-05/0.2757, allocations: 26.55 kB / 0.564 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.2757, allocations: 4.859 kB / 0.564 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.2758, allocations: 3.984 kB / 0.564 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.2758, allocations: 56.27 kB / 0.564 GB, free: 1.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.2758, allocations: 0 / 0.564 GB, free: 1.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001691/0.276, allocations: 75.34 kB / 0.5641 GB, free: 1.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.276, allocations: 89.17 kB / 0.5642 GB, free: 1.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.2761, allocations: 89.86 kB / 0.5643 GB, free: 1.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2761, allocations: 25.7 kB / 0.5643 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.2761, allocations: 80.14 kB / 0.5644 GB, free: 1.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.2761, allocations: 0 / 0.5644 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.2762, allocations: 17.66 kB / 0.5644 GB, free: 1.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2763, allocations: 314.8 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.2763, allocations: 0 / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.2763, allocations: 4 kB / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.2763, allocations: 64.27 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2764, allocations: 0 / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.435e-05/0.2764, allocations: 59.41 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.2764, allocations: 39.97 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.2765, allocations: 0 / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2765, allocations: 7.938 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.2765, allocations: 0 / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2765, allocations: 0 / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.2765, allocations: 4.094 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.2765, allocations: 0 / 0.5648 GB, free: 1.043 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.563e-05/0.2766, allocations: 139.5 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.2766, allocations: 0 / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.043e-05/0.2766, allocations: 6.938 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2766, allocations: 3.984 kB / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2766, allocations: 0 / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2766, allocations: 0 / 0.565 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.667e-05/0.2767, allocations: 120.7 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.2767, allocations: 0 / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.2767, allocations: 4 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.2767, allocations: 0 / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2767, allocations: 3.938 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.2767, allocations: 0 / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2767, allocations: 4 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.4e-05/0.2768, allocations: 90.77 kB / 0.5652 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.2768, allocations: 8 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2768, allocations: 7.969 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.2768, allocations: 3.984 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.2768, allocations: 0 / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.2768, allocations: 0 / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.2769, allocations: 75.28 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2769, allocations: 4 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.2771, allocations: 51.88 kB / 0.5653 GB, free: 456 kB / 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.0003535/0.2775, allocations: 197.5 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.74e-05/0.2776, allocations: 59.41 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2776, allocations: 0 / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.2776, allocations: 55.41 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.2778, allocations: 3.984 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.278, allocations: 114.6 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.2782, allocations: 0.669 MB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.201e-05/0.2782, allocations: 15.56 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2782, allocations: 3.938 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Templates: time 0.00301/0.2812, allocations: 1.483 MB / 0.5679 GB, free: 13.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.0466866390779614]