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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 110.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2352/0.2352, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 63.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.14, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00218/0.1422, allocations: 490.9 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1435, allocations: 350.7 kB / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.1436, allocations: 0 / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.1436, allocations: 0 / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.947e-06/0.1436, allocations: 0 / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1447, allocations: 191.5 kB / 0.4889 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.1447, allocations: 4 kB / 0.4889 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.1448, allocations: 3.938 kB / 0.4889 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.1448, allocations: 0 / 0.4889 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.262e-05/0.1449, allocations: 4 kB / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.1449, allocations: 0 / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.1452, allocations: 171.7 kB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1453, allocations: 0 / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1453, allocations: 7.938 kB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1456, allocations: 139.7 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1456, allocations: 4 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1456, allocations: 4 kB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1456, allocations: 4 kB / 0.4892 GB, free: 10.47 MB / 382.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.0004395/0.146, allocations: 361.3 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1461, allocations: 11.89 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.1461, allocations: 8.844 kB / 0.4895 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1463, allocations: 164.4 kB / 0.4897 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1463, allocations: 384 / 0.4897 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1463, allocations: 384 / 0.4897 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1464, allocations: 34.27 kB / 0.4897 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1464, allocations: 4.188 kB / 0.4897 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1464, allocations: 3.938 kB / 0.4897 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1465, allocations: 3.938 kB / 0.4897 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.1465, allocations: 0 / 0.4897 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.1467, allocations: 149.7 kB / 0.4899 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.221e-05/0.1467, allocations: 18.56 kB / 0.4899 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.1467, allocations: 4.859 kB / 0.4899 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1468, allocations: 0 / 0.4899 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.1468, allocations: 68.33 kB / 0.49 GB, free: 9.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1468, allocations: 0 / 0.49 GB, free: 9.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002028/0.147, allocations: 71.27 kB / 0.49 GB, free: 9.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1471, allocations: 77.11 kB / 0.4901 GB, free: 9.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.1472, allocations: 89.86 kB / 0.4902 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1472, allocations: 25.7 kB / 0.4902 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.1472, allocations: 80.14 kB / 0.4903 GB, free: 9.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1472, allocations: 3.938 kB / 0.4903 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.1473, allocations: 21.84 kB / 0.4903 GB, free: 9.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1474, allocations: 310.8 kB / 0.4906 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.1474, allocations: 0 / 0.4906 GB, free: 8.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-06/0.1475, allocations: 4 kB / 0.4906 GB, free: 8.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.1475, allocations: 60.25 kB / 0.4907 GB, free: 8.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1475, allocations: 4 kB / 0.4907 GB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.274e-05/0.1476, allocations: 63.34 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.1477, allocations: 37.8 kB / 0.4908 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1477, allocations: 3.938 kB / 0.4908 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1477, allocations: 3.938 kB / 0.4908 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.1477, allocations: 0 / 0.4908 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1477, allocations: 0 / 0.4908 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.1478, allocations: 4 kB / 0.4908 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1478, allocations: 3.984 kB / 0.4908 GB, free: 8.531 MB / 382.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.332e-05/0.1479, allocations: 139.5 kB / 0.4909 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.1479, allocations: 0 / 0.4909 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.1479, allocations: 11.06 kB / 0.4909 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1479, allocations: 0 / 0.4909 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1479, allocations: 4 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1479, allocations: 0 / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.148, allocations: 145.7 kB / 0.4911 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1481, allocations: 0 / 0.4911 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.1481, allocations: 3.938 kB / 0.4911 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1481, allocations: 0 / 0.4911 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1481, allocations: 11.94 kB / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1481, allocations: 0 / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1481, allocations: 0 / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1482, allocations: 98.77 kB / 0.4912 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.1483, allocations: 77.11 kB / 0.4913 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1483, allocations: 3.938 kB / 0.4913 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-06/0.1483, allocations: 0 / 0.4913 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.1483, allocations: 0 / 0.4913 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1483, allocations: 4 kB / 0.4913 GB, free: 7.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.179e-05/0.1484, allocations: 75.28 kB / 0.4914 GB, free: 7.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1484, allocations: 4.031 kB / 0.4914 GB, free: 7.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.1487, allocations: 43.98 kB / 0.4914 GB, free: 7.809 MB / 382.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.0004286/0.1491, allocations: 185 kB / 0.4916 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.1492, allocations: 59.41 kB / 0.4916 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1493, allocations: 0 / 0.4916 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.1493, allocations: 63.33 kB / 0.4917 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1494, allocations: 12.06 kB / 0.4917 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.1497, allocations: 88.94 kB / 0.4918 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.15, allocations: 0.6729 MB / 0.4924 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.765e-06/0.15, allocations: 0 / 0.4924 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.15, allocations: 7.438 kB / 0.4925 GB, free: 6.645 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.15, allocations: 0 / 0.4925 GB, free: 6.645 MB / 382.1 MB Notification: Performance of Templates: time 0.004423/0.1544, allocations: 1.437 MB / 0.4939 GB, free: 5.207 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches