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.001805/0.001805, allocations: 114.3 kB / 17.12 MB, free: 5.891 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.002114/0.002114, allocations: 212.3 kB / 20.09 MB, free: 2.941 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.483/1.483, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.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.3623/0.3623, allocations: 44.23 MB / 326.6 MB, free: 6.852 MB / 254.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [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.002171/0.002171, allocations: 68.38 kB / 462.2 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2687, allocations: 61 MB / 0.5109 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001657/0.2704, allocations: 0.5164 MB / 0.5114 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.2712, allocations: 345.1 kB / 0.5118 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.2712, allocations: 1.375 kB / 0.5118 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2712, allocations: 0 / 0.5118 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.2712, allocations: 4 kB / 0.5118 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.2719, allocations: 185 kB / 0.5119 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.272, allocations: 6.656 kB / 0.5119 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.272, allocations: 0 / 0.5119 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.272, allocations: 3.984 kB / 0.5119 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.272, allocations: 6.781 kB / 0.512 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-06/0.272, allocations: 3.938 kB / 0.512 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.2723, allocations: 174.9 kB / 0.5121 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.2723, allocations: 1.031 kB / 0.5121 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.2723, allocations: 5 kB / 0.5121 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2725, allocations: 138.6 kB / 0.5123 GB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2725, allocations: 4 kB / 0.5123 GB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2725, allocations: 0 / 0.5123 GB, free: 12.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2725, allocations: 0 / 0.5123 GB, free: 12.54 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.0002724/0.2728, allocations: 374.3 kB / 0.5126 GB, free: 12.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2728, allocations: 13.17 kB / 0.5126 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.2728, allocations: 36.69 kB / 0.5127 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.2729, allocations: 0.9375 kB / 0.5127 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.808e-05/0.2729, allocations: 160.4 kB / 0.5128 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2729, allocations: 384 / 0.5128 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.2729, allocations: 10.36 kB / 0.5128 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.626e-05/0.273, allocations: 28.3 kB / 0.5129 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.273, allocations: 3.938 kB / 0.5129 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.273, allocations: 3.938 kB / 0.5129 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.273, allocations: 1.906 kB / 0.5129 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.273, allocations: 3.938 kB / 0.5129 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.2731, allocations: 147.7 kB / 0.513 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/0.2732, allocations: 20.28 kB / 0.513 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.091e-05/0.2732, allocations: 10.73 kB / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.2732, allocations: 0 / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2732, allocations: 56.27 kB / 0.5131 GB, free: 11.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.2732, allocations: 1.312 kB / 0.5131 GB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.2734, allocations: 70.44 kB / 0.5132 GB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2734, allocations: 82.19 kB / 0.5132 GB, free: 11.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.607e-05/0.2734, allocations: 89.86 kB / 0.5133 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-06/0.2734, allocations: 29.83 kB / 0.5134 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-06/0.2734, allocations: 81.45 kB / 0.5134 GB, free: 11.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2734, allocations: 0 / 0.5134 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.2734, allocations: 11.75 kB / 0.5135 GB, free: 11.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.2735, allocations: 315.9 kB / 0.5138 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-06/0.2735, allocations: 1.094 kB / 0.5138 GB, free: 10.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.2735, allocations: 5.344 kB / 0.5138 GB, free: 10.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.2735, allocations: 63.2 kB / 0.5138 GB, free: 10.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2735, allocations: 0 / 0.5138 GB, free: 10.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.163e-05/0.2736, allocations: 66.95 kB / 0.5139 GB, free: 10.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2736, allocations: 31.39 kB / 0.5139 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2736, allocations: 3.938 kB / 0.5139 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2736, allocations: 0 / 0.5139 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.2736, allocations: 1.531 kB / 0.5139 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2736, allocations: 0 / 0.5139 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.2737, allocations: 0 / 0.5139 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.2737, allocations: 0.9062 kB / 0.5139 GB, free: 10.63 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 5.916e-05/0.2737, allocations: 150.2 kB / 0.5141 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.2737, allocations: 1.25 kB / 0.5141 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.119e-05/0.2737, allocations: 7.062 kB / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.2737, allocations: 0 / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2737, allocations: 1.531 kB / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2738, allocations: 3.984 kB / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.321e-05/0.2738, allocations: 147.1 kB / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2738, allocations: 0 / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.2738, allocations: 0 / 0.5142 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2738, allocations: 5.281 kB / 0.5142 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.2738, allocations: 5.5 kB / 0.5142 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2738, allocations: 0 / 0.5142 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2738, allocations: 0 / 0.5142 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.601e-05/0.2739, allocations: 97.27 kB / 0.5143 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.2739, allocations: 78.67 kB / 0.5144 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.2739, allocations: 3.938 kB / 0.5144 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-06/0.2739, allocations: 1.312 kB / 0.5144 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.274, allocations: 4.031 kB / 0.5144 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.274, allocations: 1.406 kB / 0.5144 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.34e-05/0.274, allocations: 79.28 kB / 0.5145 GB, free: 9.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.274, allocations: 0 / 0.5145 GB, free: 9.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.2743, allocations: 50.55 kB / 0.5145 GB, free: 9.957 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.0005618/0.2748, allocations: 0.7078 MB / 0.5152 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.2749, allocations: 60.72 kB / 0.5153 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2749, allocations: 0 / 0.5153 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.2749, allocations: 55 kB / 0.5153 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.2751, allocations: 3.969 kB / 0.5153 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.2754, allocations: 143.2 kB / 0.5155 GB, free: 9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2755, allocations: 0.6768 MB / 0.5161 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.891e-06/0.2755, allocations: 0 / 0.5161 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.292e-05/0.2755, allocations: 9.281 kB / 0.5161 GB, free: 8.289 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2755, allocations: 0 / 0.5161 GB, free: 8.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.2964, allocations: 2.326 MB / 0.5184 GB, free: 6.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.329, allocations: 11.31 kB / 0.5184 GB, free: 6.898 MB / 382.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.csv","/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: 11.140910792993964]