Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00196/0.00196, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.002255/0.002255, allocations: 214 kB / 23.74 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2439/0.2439, allocations: 44.25 MB / 331.1 MB, free: 9.426 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 69.47 kB / 468.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1372, allocations: 61.04 MB / 0.5174 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001821/0.139, allocations: 0.5026 MB / 0.5178 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.1399, allocations: 353.6 kB / 0.5182 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.1399, allocations: 0 / 0.5182 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.14, allocations: 0 / 0.5182 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.14, allocations: 0 / 0.5182 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.1408, allocations: 203.5 kB / 0.5184 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.1409, allocations: 4 kB / 0.5184 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1409, allocations: 0 / 0.5184 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.1409, allocations: 0 / 0.5184 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.409e-05/0.141, allocations: 3.984 kB / 0.5184 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-06/0.141, allocations: 8 kB / 0.5184 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.1413, allocations: 203.6 kB / 0.5186 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-06/0.1413, allocations: 0 / 0.5186 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.1413, allocations: 3.938 kB / 0.5186 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1416, allocations: 147.6 kB / 0.5187 GB, free: 5.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1416, allocations: 4 kB / 0.5187 GB, free: 5.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1416, allocations: 0 / 0.5187 GB, free: 5.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1416, allocations: 0 / 0.5187 GB, free: 5.293 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.000389/0.142, allocations: 291.9 kB / 0.519 GB, free: 4.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1421, allocations: 8.031 kB / 0.519 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1421, allocations: 8.938 kB / 0.519 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.741e-05/0.1422, allocations: 106.5 kB / 0.5191 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1422, allocations: 384 / 0.5191 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1422, allocations: 384 / 0.5191 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1423, allocations: 63.91 kB / 0.5192 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1423, allocations: 4.125 kB / 0.5192 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1423, allocations: 3.938 kB / 0.5192 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1423, allocations: 0 / 0.5192 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.1424, allocations: 29.7 kB / 0.5192 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.1425, allocations: 93.33 kB / 0.5193 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.1426, allocations: 48.3 kB / 0.5194 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.1426, allocations: 42.5 kB / 0.5194 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.1426, allocations: 0 / 0.5194 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.1427, allocations: 64.27 kB / 0.5195 GB, free: 4.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1427, allocations: 0 / 0.5195 GB, free: 4.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002076/0.1429, allocations: 118.7 kB / 0.5196 GB, free: 4.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.1429, allocations: 81.11 kB / 0.5197 GB, free: 4.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.206e-05/0.143, allocations: 89.86 kB / 0.5197 GB, free: 4.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.143, allocations: 25.7 kB / 0.5198 GB, free: 4.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.143, allocations: 80.14 kB / 0.5198 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1431, allocations: 4.125 kB / 0.5198 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.1431, allocations: 13.72 kB / 0.5199 GB, free: 3.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1432, allocations: 314.8 kB / 0.5202 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.1432, allocations: 29.69 kB / 0.5202 GB, free: 3.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.1433, allocations: 25.7 kB / 0.5202 GB, free: 3.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.705e-05/0.1433, allocations: 68.2 kB / 0.5203 GB, free: 3.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1433, allocations: 0 / 0.5203 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.525e-05/0.1434, allocations: 85.11 kB / 0.5204 GB, free: 3.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.1435, allocations: 33.69 kB / 0.5204 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1435, allocations: 0 / 0.5204 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1435, allocations: 8.094 kB / 0.5204 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-06/0.1435, allocations: 7.938 kB / 0.5204 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1435, allocations: 0 / 0.5204 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.1435, allocations: 0 / 0.5204 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1435, allocations: 0 / 0.5204 GB, free: 3.301 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.879e-05/0.1436, allocations: 139.5 kB / 0.5205 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.1436, allocations: 3.984 kB / 0.5205 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.1436, allocations: 6.984 kB / 0.5205 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1436, allocations: 3.938 kB / 0.5206 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1436, allocations: 0 / 0.5206 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1436, allocations: 8 kB / 0.5206 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.096e-05/0.1437, allocations: 97.27 kB / 0.5207 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1437, allocations: 0 / 0.5207 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-06/0.1437, allocations: 3.938 kB / 0.5207 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1437, allocations: 0 / 0.5207 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1437, allocations: 4 kB / 0.5207 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1437, allocations: 0 / 0.5207 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1437, allocations: 3.938 kB / 0.5207 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1439, allocations: 116.5 kB / 0.5208 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.1439, allocations: 0 / 0.5208 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.1439, allocations: 4.031 kB / 0.5208 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.1439, allocations: 4 kB / 0.5208 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.1439, allocations: 7.922 kB / 0.5208 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1439, allocations: 7.938 kB / 0.5208 GB, free: 2.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.1439, allocations: 75.28 kB / 0.5209 GB, free: 2.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1439, allocations: 0 / 0.5209 GB, free: 2.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1442, allocations: 47.88 kB / 0.5209 GB, free: 2.703 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.0004129/0.1446, allocations: 178.8 kB / 0.5211 GB, free: 2.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1448, allocations: 126.7 kB / 0.5212 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1448, allocations: 0 / 0.5212 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.1448, allocations: 81.11 kB / 0.5213 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.145, allocations: 0.9375 kB / 0.5213 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.1452, allocations: 140.2 kB / 0.5214 GB, free: 2.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.1452, allocations: 55.36 kB / 0.5215 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.1453, allocations: 7.438 kB / 0.5215 GB, free: 2.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1453, allocations: 0 / 0.5215 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Templates: time 0.00369/0.1489, allocations: 1.428 MB / 0.5229 GB, free: 0.5859 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.043604474049062]