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.001285/0.001285, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00145/0.00145, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.377/1.377, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2238/0.2238, allocations: 46.94 MB / 361.7 MB, free: 4.266 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.00204/0.00204, allocations: 71.89 kB / 0.4969 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2923, allocations: 66.04 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001651/0.294, allocations: 497 kB / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.2948, allocations: 389.2 kB / 0.5623 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.317e-05/0.2948, allocations: 0 / 0.5623 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.2948, allocations: 0 / 0.5623 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.2948, allocations: 0 / 0.5623 GB, free: 3.617 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.0008028/0.2956, allocations: 207.6 kB / 0.5624 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.2957, allocations: 3.938 kB / 0.5625 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.753e-05/0.2957, allocations: 0 / 0.5625 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.2957, allocations: 8 kB / 0.5625 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.424e-05/0.2957, allocations: 0 / 0.5625 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-06/0.2957, allocations: 0 / 0.5625 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.2962, allocations: 243.5 kB / 0.5627 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.2962, allocations: 3.984 kB / 0.5627 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.2962, allocations: 0 / 0.5627 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2964, allocations: 157.5 kB / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2964, allocations: 0 / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2964, allocations: 0 / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.2964, allocations: 0 / 0.5628 GB, free: 3.008 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.0003236/0.2967, allocations: 299.9 kB / 0.5631 GB, free: 2.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2968, allocations: 12.02 kB / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.51e-05/0.2968, allocations: 192 / 0.5631 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.2968, allocations: 34.69 kB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.2969, allocations: 4.938 kB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.2969, allocations: 102.5 kB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2969, allocations: 384 / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.2969, allocations: 384 / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.297, allocations: 34.02 kB / 0.5633 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.297, allocations: 4 kB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.297, allocations: 0 / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.297, allocations: 3.938 kB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.297, allocations: 0 / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.2972, allocations: 124.8 kB / 0.5634 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.003e-05/0.2972, allocations: 18.52 kB / 0.5635 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.2972, allocations: 8.953 kB / 0.5635 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.2972, allocations: 0 / 0.5635 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.2973, allocations: 72.19 kB / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.2973, allocations: 0 / 0.5635 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.2974, allocations: 67.34 kB / 0.5636 GB, free: 2.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.2975, allocations: 84.98 kB / 0.5637 GB, free: 1.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/0.2975, allocations: 89.86 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2975, allocations: 25.7 kB / 0.5638 GB, free: 1.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.2976, allocations: 84.14 kB / 0.5639 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.2976, allocations: 128 / 0.5639 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.2976, allocations: 17.72 kB / 0.5639 GB, free: 1.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2977, allocations: 310.8 kB / 0.5642 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.2977, allocations: 7.984 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.2978, allocations: 4 kB / 0.5642 GB, free: 1.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.2978, allocations: 60.27 kB / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2978, allocations: 0 / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.043e-05/0.2979, allocations: 67.34 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.2979, allocations: 41.72 kB / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2979, allocations: 0 / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2979, allocations: 0 / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.2979, allocations: 0 / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2979, allocations: 0 / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.298, allocations: 4 kB / 0.5644 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.298, allocations: 0 / 0.5644 GB, free: 1.211 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.063e-05/0.298, allocations: 131.5 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.2981, allocations: 7.938 kB / 0.5645 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-06/0.2981, allocations: 7 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2981, allocations: 0 / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2981, allocations: 0 / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.2981, allocations: 0 / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.403e-05/0.2982, allocations: 116.8 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2982, allocations: 4 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2982, allocations: 0 / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2982, allocations: 3.938 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2982, allocations: 0 / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.2982, allocations: 0 / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2982, allocations: 0 / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.2983, allocations: 102.8 kB / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-06/0.2983, allocations: 3.938 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2983, allocations: 3.938 kB / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.2983, allocations: 4 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.2983, allocations: 3.938 kB / 0.5647 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.2983, allocations: 3.984 kB / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.568e-05/0.2984, allocations: 75.31 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 4 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.2986, allocations: 51.88 kB / 0.5649 GB, free: 0.6133 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.0007145/0.2994, allocations: 0.7203 MB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.937e-05/0.2995, allocations: 63.34 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2995, allocations: 0 / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.2995, allocations: 55.41 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.2996, allocations: 4 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.2999, allocations: 122.6 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.3002, allocations: 0.669 MB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.428e-06/0.3002, allocations: 0 / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.3002, allocations: 15.56 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3002, allocations: 0 / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.321, allocations: 2.598 MB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.97, allocations: 12 kB / 0.569 GB, free: 12.38 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.722266309952829]