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.001226/0.001226, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001369/0.001369, allocations: 210.7 kB / 24.53 MB, free: 4.098 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.341/1.341, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.2112/0.2112, allocations: 46.93 MB / 361.6 MB, free: 4.195 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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 79.88 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2933, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001585/0.2949, allocations: 0.4917 MB / 0.562 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.2957, allocations: 377.3 kB / 0.5623 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.2957, allocations: 0 / 0.5623 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.2957, allocations: 0 / 0.5623 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.2957, allocations: 0 / 0.5623 GB, free: 3.453 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.0007471/0.2965, allocations: 210.6 kB / 0.5625 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.972e-05/0.2965, allocations: 7.938 kB / 0.5625 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.834e-05/0.2966, allocations: 4 kB / 0.5625 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.042e-05/0.2966, allocations: 0 / 0.5625 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.489e-05/0.2966, allocations: 0 / 0.5625 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-06/0.2966, allocations: 0 / 0.5625 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.297, allocations: 235.5 kB / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-06/0.297, allocations: 0 / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.297, allocations: 3.938 kB / 0.5628 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.2972, allocations: 157.6 kB / 0.5629 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2972, allocations: 0 / 0.5629 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2972, allocations: 4 kB / 0.5629 GB, free: 2.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2972, allocations: 0 / 0.5629 GB, free: 2.848 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.2976, allocations: 295.9 kB / 0.5632 GB, free: 2.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2976, allocations: 8.031 kB / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.325e-05/0.2976, allocations: 192 / 0.5632 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.2976, allocations: 42.67 kB / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.2977, allocations: 0.9375 kB / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.063e-05/0.2977, allocations: 102.5 kB / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.2977, allocations: 384 / 0.5633 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.2977, allocations: 8.359 kB / 0.5634 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.514e-05/0.2978, allocations: 34.02 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2978, allocations: 0 / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.2978, allocations: 0 / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2978, allocations: 0 / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.2979, allocations: 7.938 kB / 0.5634 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.298, allocations: 120.8 kB / 0.5635 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.298, allocations: 26.55 kB / 0.5635 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.298, allocations: 4.859 kB / 0.5635 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-06/0.298, allocations: 0 / 0.5635 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.2981, allocations: 60.2 kB / 0.5636 GB, free: 2.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2981, allocations: 0 / 0.5636 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.2982, allocations: 71.41 kB / 0.5637 GB, free: 1.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.2983, allocations: 81.05 kB / 0.5637 GB, free: 1.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.444e-05/0.2983, allocations: 89.86 kB / 0.5638 GB, free: 1.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2984, allocations: 33.83 kB / 0.5639 GB, free: 1.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.2984, allocations: 80.14 kB / 0.5639 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2984, allocations: 0 / 0.5639 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.2984, allocations: 9.719 kB / 0.5639 GB, free: 1.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.2986, allocations: 318.8 kB / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.2986, allocations: 0 / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.2986, allocations: 0 / 0.5642 GB, free: 1.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.2986, allocations: 68.31 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2986, allocations: 0 / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.039e-05/0.2987, allocations: 63.34 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.2987, allocations: 35.98 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2987, allocations: 4 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2988, allocations: 0 / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.2988, allocations: 3.984 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.2988, allocations: 4 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.2988, allocations: 7.938 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.2988, allocations: 0 / 0.5644 GB, free: 1.055 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.882e-05/0.2989, allocations: 140.9 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.2989, allocations: 3.938 kB / 0.5646 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.956e-06/0.2989, allocations: 3 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.2989, allocations: 0 / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2989, allocations: 0 / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.2989, allocations: 0 / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.07e-05/0.299, allocations: 120.8 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.299, allocations: 0 / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.299, allocations: 0 / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.299, allocations: 7.875 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.299, allocations: 4 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.299, allocations: 0 / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.299, allocations: 0 / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.2991, allocations: 94.77 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.2991, allocations: 0 / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.2991, allocations: 7.938 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.2991, allocations: 4 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-06/0.2991, allocations: 4.031 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.2991, allocations: 0 / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.2992, allocations: 75.28 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2992, allocations: 0 / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.2995, allocations: 55.86 kB / 0.5649 GB, free: 472 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.00068/0.3001, allocations: 0.7169 MB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.3002, allocations: 63.33 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3002, allocations: 4 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.3003, allocations: 51.41 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.3004, allocations: 8 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.3007, allocations: 130.7 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.301, allocations: 0.669 MB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.301, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.301, allocations: 11.44 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.301, allocations: 0 / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.3215, allocations: 2.573 MB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.73, allocations: 8 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] 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: 13.372934595041443]