Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 46.97 MB / 361.7 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 0.4969 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3039, allocations: 66.03 MB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001681/0.3056, allocations: 0.4892 MB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.3064, allocations: 377.3 kB / 0.5622 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.3064, allocations: 0 / 0.5622 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.3065, allocations: 0 / 0.5622 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.3065, allocations: 0 / 0.5622 GB, free: 3.41 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0008485/0.3073, allocations: 211.5 kB / 0.5624 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.3074, allocations: 4 kB / 0.5624 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.3074, allocations: 4 kB / 0.5624 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.3074, allocations: 0 / 0.5624 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.971e-05/0.3074, allocations: 0 / 0.5624 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.3074, allocations: 7.984 kB / 0.5624 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.3078, allocations: 231.5 kB / 0.5626 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.3078, allocations: 0 / 0.5626 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.3079, allocations: 3.984 kB / 0.5626 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3081, allocations: 153.5 kB / 0.5628 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3081, allocations: 0 / 0.5628 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3081, allocations: 0 / 0.5628 GB, free: 2.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3081, allocations: 0 / 0.5628 GB, free: 2.809 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.0003847/0.3085, allocations: 295.9 kB / 0.563 GB, free: 2.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3086, allocations: 12.03 kB / 0.5631 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.377e-05/0.3086, allocations: 192 / 0.5631 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.3086, allocations: 38.69 kB / 0.5631 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.3086, allocations: 0.9375 kB / 0.5631 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.3087, allocations: 102.5 kB / 0.5632 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3087, allocations: 4.375 kB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.3088, allocations: 384 / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.3089, allocations: 59.7 kB / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3089, allocations: 4 kB / 0.5633 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.3089, allocations: 0 / 0.5633 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3089, allocations: 0 / 0.5633 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.309, allocations: 25.7 kB / 0.5633 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.3091, allocations: 120.8 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3092, allocations: 48.22 kB / 0.5634 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.3092, allocations: 38.64 kB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.3093, allocations: 0 / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.3093, allocations: 68.14 kB / 0.5635 GB, free: 1.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.3093, allocations: 0 / 0.5635 GB, free: 1.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002571/0.3096, allocations: 122.7 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3096, allocations: 81.11 kB / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.3097, allocations: 89.86 kB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3097, allocations: 25.7 kB / 0.5638 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.3097, allocations: 84.27 kB / 0.5639 GB, free: 1.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.3097, allocations: 4 kB / 0.5639 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.3098, allocations: 13.72 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3099, allocations: 310.8 kB / 0.5642 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.31, allocations: 25.7 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.31, allocations: 29.7 kB / 0.5643 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.31, allocations: 68.25 kB / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3101, allocations: 0 / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.554e-05/0.3101, allocations: 85.05 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.3102, allocations: 37.73 kB / 0.5645 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3102, allocations: 4 kB / 0.5645 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3102, allocations: 3.984 kB / 0.5645 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3102, allocations: 3.938 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3102, allocations: 0 / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.3102, allocations: 4 kB / 0.5645 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3102, allocations: 0 / 0.5645 GB, free: 0.7344 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.786e-05/0.3103, allocations: 131.5 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.3103, allocations: 11.94 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.091e-05/0.3103, allocations: 3 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.3103, allocations: 0 / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3103, allocations: 4 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3103, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.3104, allocations: 120.8 kB / 0.5647 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3104, allocations: 0 / 0.5647 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-06/0.3104, allocations: 4 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3104, allocations: 3.938 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3105, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.3105, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3105, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.3106, allocations: 124.5 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.3106, allocations: 11.97 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.3106, allocations: 3.938 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.3106, allocations: 0 / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.3106, allocations: 0 / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.3106, allocations: 4 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.221e-05/0.3107, allocations: 75.28 kB / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3107, allocations: 0 / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.3109, allocations: 55.86 kB / 0.565 GB, free: 104 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.000788/0.3117, allocations: 0.7494 MB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.3118, allocations: 114.8 kB / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3118, allocations: 0 / 0.5659 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.687e-05/0.3119, allocations: 85.05 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.312, allocations: 3.984 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.3123, allocations: 156.3 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.017e-05/0.3124, allocations: 51.36 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.059e-06/0.3124, allocations: 0 / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.3124, allocations: 19.5 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3124, allocations: 0 / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.3347, allocations: 2.642 MB / 0.5687 GB, free: 12.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.18, allocations: 4.062 kB / 0.5687 GB, free: 12.29 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.898036050028168]