Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001804/0.002932, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002694, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9198/0.9198, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1674/1.087, allocations: 52.5 MB / 238.5 MB, free: 7.605 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1358/0.1358, allocations: 32.79 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02124/0.157, allocations: 12.54 MB / 284.5 MB, free: 9.703 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.886e-05, allocations: 2.312 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001084/0.001103, allocations: 0.5507 MB / 286.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005114/0.001614, allocations: 393.5 kB / 286.8 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.437e-05/0.001628, allocations: 4 kB / 286.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.007e-06/0.001632, allocations: 4 kB / 286.8 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-07/0.001633, allocations: 0 / 286.8 MB, free: 7.48 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0005008/0.002134, allocations: 191.3 kB / 287 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.002183, allocations: 8 kB / 287 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.002213, allocations: 0 / 287 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.002243, allocations: 0 / 287 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.932e-05/0.002262, allocations: 0 / 287 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.002268, allocations: 4 kB / 287 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.002606, allocations: 251.5 kB / 287.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.002617, allocations: 8 kB / 287.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.00263, allocations: 0 / 287.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.002817, allocations: 163.5 kB / 287.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.002827, allocations: 0 / 287.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002828, allocations: 0 / 287.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.002836, allocations: 0 / 287.4 MB, free: 6.867 MB / 282.7 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.0002712/0.003107, allocations: 286.1 kB / 287.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.003139, allocations: 12.03 kB / 287.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.003171, allocations: 4.922 kB / 287.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.957e-05/0.00323, allocations: 101.8 kB / 287.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.003242, allocations: 8.375 kB / 287.8 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.00325, allocations: 4.375 kB / 287.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.466e-05/0.003315, allocations: 59.91 kB / 287.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.00332, allocations: 192 / 287.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-06/0.003326, allocations: 384 / 287.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003331, allocations: 384 / 287.9 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.003348, allocations: 33.62 kB / 287.9 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.191e-05/0.00342, allocations: 65.05 kB / 287.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.101e-05/0.003461, allocations: 44.31 kB / 288 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.003478, allocations: 30.56 kB / 288 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-06/0.003481, allocations: 0 / 288 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.003515, allocations: 68.27 kB / 288.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.003516, allocations: 0 / 288.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.003636, allocations: 110.8 kB / 288.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.003697, allocations: 158.2 kB / 288.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.707e-05/0.003734, allocations: 93.84 kB / 288.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.003743, allocations: 25.7 kB / 288.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.003763, allocations: 84.14 kB / 288.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.003784, allocations: 0 / 288.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.00381, allocations: 17.7 kB / 288.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.003894, allocations: 314.8 kB / 288.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.003909, allocations: 33.83 kB / 288.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.003922, allocations: 25.7 kB / 288.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.003968, allocations: 64.2 kB / 289 MB, free: 5.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.00397, allocations: 0 / 289 MB, free: 5.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.415e-05/0.004024, allocations: 89.09 kB / 289.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.004066, allocations: 29.7 kB / 289.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.004071, allocations: 0 / 289.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.004082, allocations: 0 / 289.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.004083, allocations: 3.938 kB / 289.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.004086, allocations: 4.094 kB / 289.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.004101, allocations: 4 kB / 289.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.00411, allocations: 3.984 kB / 289.1 MB, free: 4.848 MB / 282.7 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 7.259e-05/0.004182, allocations: 139.5 kB / 289.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-06/0.004187, allocations: 0 / 289.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.0042, allocations: 6.953 kB / 289.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004202, allocations: 3.938 kB / 289.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004204, allocations: 0 / 289.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.004207, allocations: 0 / 289.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.744e-05/0.004264, allocations: 69.84 kB / 289.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.004266, allocations: 3.984 kB / 289.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/0.004268, allocations: 7.984 kB / 289.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.004273, allocations: 0 / 289.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.004275, allocations: 4 kB / 289.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-06/0.004279, allocations: 0 / 289.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.00428, allocations: 0 / 289.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004281, allocations: 0 / 289.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.303e-05/0.004364, allocations: 116.5 kB / 289.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.004379, allocations: 8 kB / 289.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-06/0.004384, allocations: 0 / 289.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.004394, allocations: 0 / 289.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.004396, allocations: 4.031 kB / 289.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.875e-06/0.004404, allocations: 4.859 kB / 289.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004404, allocations: 0 / 289.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.004585, allocations: 63.8 kB / 289.5 MB, free: 4.352 MB / 282.7 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.0003411/0.004926, allocations: 197 kB / 289.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.005019, allocations: 115.7 kB / 289.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.005024, allocations: 4.094 kB / 289.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.005056, allocations: 89.97 kB / 289.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.627e-05/0.005113, allocations: 11.92 kB / 290 MB, free: 3.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001528/0.005265, allocations: 116 kB / 290.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.005294, allocations: 55.34 kB / 290.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.031e-06/0.0053, allocations: 0 / 290.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.005333, allocations: 51.38 kB / 290.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005333, allocations: 0 / 290.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of Templates: time 0.003788/0.009122, allocations: 2.003 MB / 292.2 MB, free: 1.625 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.681756630539894]